CINXE.COM

COE - Threats and Injuries With Weapons on School Property

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="description" content="Presents text and figures that describe statistical findings on an education-related topic." /> <meta property="og:image" content="/programs/coe/images/flagship/coe-144ppi.png" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>COE - Threats and Injuries With Weapons on School Property</title> <link rel="stylesheet" href="/programs/coe/lib/bootstrap/dist/css/bootstrap.min.css" /> <link rel="stylesheet" href="/programs/coe/css/aris.css?v=yuVFWzgu9pbEHQpgLU4pUnU6GRMmQALsrbGCcu8a5hc" /> <link rel="stylesheet" href="/programs/coe/css/charting.css?v=_PhiRJSqoPbAoWb5Ab3Lt5ZQLC4KOYj648_9PNvNXuI" /> <link rel="stylesheet" type="text/css" href="/programs/coe/css/d3map.css"> <script src="/programs/coe/js/d3.v7.min.js"></script> <script src="/programs/coe/lib/jquery/dist/jquery.js"></script> <script src="/programs/coe/js/charting.js?t=02-22-2025-02-57"></script> <script src="/programs/coe/js/charting-map.js?v=AwNyY0lcHJph1ZvRiMDuo82PwFWB7HgA4l5mgZtC7xs"></script> <script src="/programs/coe/js/charting-stacked-bar.js?v=L3lcpk6eeZLn7znuIJ_Lol9_s3666Qp0OvL4ZxKXcEc"></script> <script src="/programs/coe/js/charting-grouped-bar.js?v=iSnS7bIfEfy4XqbNi-Rc-FA0Ad09E75ZQl32jNYDajM"></script> <script src="/programs/coe/js/charting-horizontal-bar.js?v=ls7hm_wdMIDipNp4LImWfiL3oUyGo5oGfcX2o5hElU0"></script> <script src="/programs/coe/js/charting-area.js?v=msbe8FTMdMEvGgegCMmCD-ypesykJnvQMoeNh4de2HM"></script> <script src="/programs/coe/js/chart-helpers.js?t=02-22-2025-02-57"></script> <script src="/programs/coe/js/charting-tables.js?v=bHG68x7sH0d01qyqHCa55DQQ51zTsNR9aSuCGF5w4Hg"></script> <script src="/programs/coe/js/figure-builder.js?v=sx690Hpmdx669izzwk9y75drrGsGDoU4gDfzQzC0FMY"></script> <script src="https://unpkg.com/pubsub-js@1.9.4/src/pubsub.js"></script> <meta name="keywords" content="On school property, Private school, Public school or institution, Racial/ethnic group, Sexual identity (Youth Risk Behavior Survey System), Weapon (Youth Risk Behavior Survey System)"> <script src="/programs/coe/js/clipboard.min.js"></script> </head> <body> <!-- HEADER STARTS HERE--> <!-- Start Header --> <div class="headContents"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <link rel="icon" type="image/png" sizes="32x32" href="/images/favicons/IESfavicon_32px.png"> <link rel="icon" type="image/png" sizes="128x128" href="/images/favicons/IESfavicon_128px.png"> <link rel="icon" type="image/png" sizes="152x152" href="/images/favicons/IESfavicon_152px.png"> <link rel="icon" type="image/png" sizes="167x167" href="/images/favicons/IESfavicon_167px.png"> <link rel="icon" type="image/png" sizes="180x180" href="/images/favicons/IESfavicon_180px.png"> <link rel="icon" type="image/png" sizes="192x192" href="/images/favicons/IESfavicon_192px.png"> <link rel="icon" type="image/png" sizes="196x196" href="/images/favicons/IESfavicon_196px.png"> <link href='//fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'> <link href="/css/main.css" rel="stylesheet" type="text/css" /> <link href="/css/IES_Core_0004.css" rel="stylesheet" type="text/css" /> <link href="/css/IES_Mobile_0004.css" rel="stylesheet" type="text/css" /> </div> <!-- Google Tag Manager (GTM, the new way to manage tags and analytics) --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-KLQ8LQNJ'); </script> </div> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KLQ8LQNJ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <script type="text/javascript" src="/js/customevents.js"></script> <script type="text/javascript" src="/js/jquery-3.5.1.min.js"></script> <script type="text/javascript"> //<![CDATA[ var $$i = jQuery.noConflict(true); //]]> </script> <script type="text/javascript" src="/js/hfsNav.js?v=02"></script> <script type="text/javascript" src="/js/nav_0005.js"></script> <script type="text/javascript" src="/js/importBlogPosts.js"></script> <script type="text/javascript" src="/js/main.js"></script> <link href="https://ies.ed.gov/sites/default/files/assets/legacy-override-nces.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="https://ies.ed.gov/sites/default/files/assets/ies-header-footer-elements.js"></script> <div class="nces"> <ies-header></ies-header> <!-- End Header --> <!-- Start Body --> <!-- closing header div --> </div> <!-- HEADER ENDS HERE--> <div class="container app aris"> <div class="header-wrapper"> <div class="top-header"> <h5> Annual Reports and Information Staff (Annual Reports) </h5> <div class="social-wrap"> <div class="social-links"> <div class="social-link"> <span class="tooltiptext">Contact NCES</span> <a target="_blank" href="/surveys/annualreports/contact" data-ev data-ev-n="click" data-ev-c="outreach" data-ev-l="contact-us"><img src="/programs/coe/images/envelope.svg" data-src="/programs/coe/images/envelope.svg" data-over-src="/programs/coe/images/envelope-hover.svg" alt="Contact NCES" onmouseover="iap_social(event)" onmouseout="iap_social(event)" /></a> </div> <div class="social-link"> <span class="tooltiptext">EdNCES X</span> <a target="_blank" href="https://twitter.com/EdNCES" data-ev data-ev-n="click" data-ev-c="outreach" data-ev-l="twitter"><img src="/programs/coe/images/x/x-nav.svg" data-src="/programs/coe/images/x/x-nav.svg" data-over-src="/programs/coe/images/x/x-nav-hover.svg" alt="EdNCES X" onmouseover="iap_social(event)" onmouseout="iap_social(event)"></a> </div> <div class="social-link"> <span class="tooltiptext">EdNCES Facebook</span> <a target="_blank" href="https://www.facebook.com/EdNCES/" data-ev data-ev-n="click" data-ev-c="outreach" data-ev-l="facebook"><img src="/programs/coe/images/facebook-square.svg" data-src="/programs/coe/images/facebook-square.svg" data-over-src="/programs/coe/images/facebook-square-hover.svg" onmouseover="iap_social(event)" onmouseout="iap_social(event)" alt="EdNCES Facebook" /></a> </div> <div class="social-link"> <span class="tooltiptext">EdNCES LinkedIn</span> <a target="_blank" href="https://www.linkedin.com/company/ednces/" data-ev data-ev-n="click" data-ev-c="outreach" data-ev-l="linkedin"><img src="/programs/coe/images/linkedin.svg" data-src="/programs/coe/images/linkedin.svg" data-over-src="/programs/coe/images/linkedin-hover.svg" onmouseover="iap_social(event)" onmouseout="iap_social(event)" alt="EdNCES LinkedIn" class="linkedin" /></a> </div> <div class="social-link"> <span class="tooltiptext">EdNCES YouTube</span> <a target="_blank" href="https://www.youtube.com/c/EdNCES/featured" data-ev data-ev-n="click" data-ev-c="outreach" data-ev-l="ednces-youtube"> <img src="/programs/coe/images/youtube-nav.svg" data-src="/programs/coe/images/youtube-nav.svg" data-over-src="/programs/coe/images/youtube-nav-hover.svg" onmouseover="iap_social(event)" onmouseout="iap_social(event)" alt="EdNCES YouTube" style="width: 25px;" /> </a> </div> </div> </div> </div> <nav class="no-underline"> <div class="burger-wrap"> <div class="burger-icon" data-toggle-mobile-menu></div> </div> <ul> <li data-nav-item="home" class=""> <a href="/surveys/annualreports" title="Home page"><div class="home-image" title="Home page"></div></a> </li> <li data-nav-item="about"> <div class="dropdown" id="about-dropdown"> <a class="dropdown-toggle" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> About </a> <div class="dropdown-menu" id="about-menu" aria-labelledby="dropdownMenuLink"> <a class="dropdown-item" href="/surveys/annualreports/overview">Overview</a> <a class="dropdown-item" href="/surveys/annualreports/contact">Connect With Annual Reports</a> </div> </div> </li> <li class="active" title="Annually updated indicators that track key developments in the U.S. education system"><a href="/programs/coe/" data-ev data-ev-n="click" data-ev-c="nav" data-ev-l="coe">Condition of Education</a></li> <li data-nav-item="Topical studies" title="More detailed reports and tables than Condition of Education"> <div class="dropdown" id="topicalStudies-dropdown"> <a class="dropdown-toggle" role="button" id="topicalStudiesMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> Digest of Education Statistics </a> <div class="dropdown-menu w-100" id="topicalStudies-menu" aria-labelledby="dropdownMenuLink"> <a class="dropdown-item" href="/programs/digest/current_tables.asp">Report and Tables</a> <a class="dropdown-item" href="/programs/digest-dashboard">Digest State Dashboard</a> </div> </div> </li> <li class="" title="Forecasts of enrollment, graduates, teachers, and expenditures"><a href="https://nces.ed.gov/programs/pes">Projections</a></li> <li data-nav-item="Topical studies" title="More detailed reports and tables than Condition of Education"> <div class="dropdown" id="topicalStudies-dropdown"> <a class="dropdown-toggle" role="button" id="topicalStudiesMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> Topical Studies </a> <div class="dropdown-menu" id="topicalStudies-menu" aria-labelledby="dropdownMenuLink"> <a class="dropdown-item" href="/surveys/annualreports/topical-studies/covid/">COVID-19 and Education</a> <a class="dropdown-item" href="/surveys/annualreports/topical-studies/locale">Education Across America</a> <a class="dropdown-item" href="/surveys/annualreports/topical-studies/retrospective/" )">Retrospective on Education Statistics </a> <a class="dropdown-item" href="/surveys/annualreports/topical-studies/summary">More</a> </div> </div> </li> <li><a href="https://nces.ed.gov/pubsearch/getpubcats.asp?sid=091">Publications</a></li> <li class="mobile-social-link"><a href="https://ies.ed.gov/newsflash/#nces" target="_blank" data-ev data-ev-name="click" data-ev-props="join-newsflash">Join Newsflash</a></li> <li class="mobile-social-link"><a target="_blank" href="/surveys/annualreports/contact" data-ev data-ev-name="click" data-ev-props="contact-us">Contact Us</a></li> <li class="mobile-social-link"><a target="_blank" href="https://nces.ed.gov/blogs/nces/" data-ev data-ev-name="click" data-ev-props="nces-blogs">NCES Blog</a></li> <li class="mobile-social-link"><a target="_blank" href="https://twitter.com/EdNCES" data-ev data-ev-name="click" data-ev-props="twitter"><img src="/programs/coe/images/x/x-mobile.svg" alt="" /> X (formerly Twitter)</a></li> <li class="mobile-social-link"><a target="_blank" href="https://www.facebook.com/EdNCES/" data-ev data-ev-name="click" data-ev-props="facebook"><img src="/programs/coe/images/facebook-square-white.svg" alt="" /> Facebook</a></li> <li class="mobile-social-link"><a target="_blank" href="https://www.youtube.com/c/EdNCES/featured" data-ev data-ev-name="click" data-ev-props="youtube"><img src="/programs/coe/images/youtube-nav-white.svg" alt="" /> YouTube</a></li> </ul> </nav> </div> <a id="top"></a> <div class="indicator-wrapper yellow"> <div class="d-flex"> <script> function treeElementClick(ev, treeElementId) { if (ev.target.nodeName !== 'A') { ev.preventDefault(); ev.stopPropagation(); } var selector = $(ev.target); var child = $(selector).closest("h6"); if (child && !$(child).hasClass('has-child')) { $(child).toggleClass('m-h'); } $(selector).closest("li").toggleClass('active').find('> ul').toggle(); } function activeCollapsedMenu(item) { var collapsedIndex = $(item).closest(".topic-root").index() - 1; // hidden item for mobile $(".collapsed-menu > ul > li").eq(collapsedIndex).addClass("active"); } function toggleClosestHeader(item) { var parentElement = $(item).parent("ul").prev(); if (!$(parentElement).hasClass('has-child')) { $(parentElement).toggleClass('m-h'); } } function toggleParents(item) { var parents = $(item).parentsUntil(".main-list", "li"); parents.each(function (index, s) { if (s) { $(s).toggleClass('active').find('> ul').toggle(); } }); } function toggleItemMenu(item, rootTopicId) { var currentRootId = $(item).closest(".topic-root").attr("data-id"); if (currentRootId === rootTopicId && currentRootId) { activeCollapsedMenu(item); toggleClosestHeader(item); toggleParents(item); } else { $(item).removeClass("active"); } // update image on collapsed menu let img = $('.collapsed-menu').find('li.active').find('img'); let src = img.attr('src'); let hoverSrc = img.attr('data-image-hover'); img.attr('data-image-hover', src); img.attr('src', hoverSrc); } function toggleFirstItem() { var selector = $(".indicator-links").find("li.active").eq(0); // select the first item if tid is not provided var selectorRootTopicId = $(selector).closest(".topic-root").attr("data-id"); toggleItemMenu(selector, selectorRootTopicId); $(".indicator-links").find("li.active").not(selector).removeClass("active"); } window.addEventListener('load', function () { var rootTopicId = "4"; if (0 > 0) { $("li#li-" + 0).toggleClass('active').find('> ul').toggle(); } if (rootTopicId) { if (rootTopicId === "300") { // TODO: remove hardcoded spotlight root id var spotlightActive = $(".spotlight-link").hasClass("active"); if (spotlightActive) { var mainContainer = $(".spotlight-link").parent().parent(); $(mainContainer).addClass('active').find('> ul').toggle(); $(".spotlight-collapsed").addClass('active'); } } var selectors = $(".indicator-links").find("li.active"); selectors.each(function (_, item) { toggleItemMenu(item, rootTopicId); }); } else { toggleFirstItem(); } var origin; $(".collapsed-menu li").hover(function () { if (!$(this).hasClass('active')) { var img = $(this).find("img"); origin = $(img).attr("src"); $(img).attr("src", $(img).attr("data-image-hover")); $(this).prev().addClass("previous"); } }, function () { if (!$(this).hasClass("active")) { $(this).prev().removeClass("previous"); var img = $(this).find("img"); $(img).attr("src", origin); } }); $(".collapsed-menu > ul > li").click(function () { if (false) { const url = $(this).attr('data-topic-url'); window.location.href = url; } else { var index = $(this).index() + 1; var _selector = $(".main-list > li"); $(".menu").show(); $(".collapsed-menu").hide(); _selector.removeClass('active').find('> ul').hide(); _selector.eq(index).toggleClass('active').find('> ul').toggle(); if ($(this).attr('id') === 'collapsed-menu-related-sites') { _selector.removeClass('active'); } $("[data-collapse-indicator-menu]").text("Collapse"); } }); }); </script> <div class="menu-wrap"> <button class="button button--small collapse-btn" data-collapse-indicator-menu>Collapse</button> <div class="menu"> <!-- level 1 --> <ul class="main-list"> <li class="mobile-menu-header"> <h4>COE Indicators</h4> <span class="indicator-menu-mobile-close" data-indicator-menu-mobile-close></span> </li> <li id="li-1" onclick="treeElementClick(event, '1')" class="topic-root yellow" data-id="1"> <h5> Family Characteristics </h5> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cce/family-characteristics">Characteristics of Children’s Families </a> </li> <li class=""> <a href="/programs/coe/indicator/sga/family-education-activities">Family Involvement in Education-Related Activities Outside of School</a> </li> <li class=""> <a href="/programs/coe/indicator/lfa/family-characteristics-rural?tid=1">Children in Rural Areas and Their Family Characteristics</a> </li> <li class=""> <a href="/programs/coe/indicator/lfb/home-environment-education-rural?tid=1">Educational Expectations and Involvement of Parents in Rural Areas</a> </li> </ul> </li> <li id="li-4" onclick="treeElementClick(event, '4')" class="topic-root yellow" data-id="4"> <h5> Preprimary, Elementary, and Secondary Education </h5> <!-- level 2 --> <ul style="display: none;" class="level2"> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Preprimary Education (4) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/tca/early-childhood-care">Early Childhood Care Arrangements: Choices and Costs</a> </li> <li class=""> <a href="/programs/coe/indicator/sfa/home-literacy-activities">Home Literacy Activities With Young Children</a> </li> <li class=""> <a href="/programs/coe/indicator/cfa/enrollment-of-young-children">School Enrollment Rates of Young Children</a> </li> <li class=""> <a href="/programs/coe/indicator/lca/early-childhood-care-rural?tid=4">Early Childhood Care and Education Programs in Rural Areas</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Elementary and Secondary Enrollment (9) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cga/public-school-enrollment">Public School Enrollment</a> </li> <li class=""> <a href="/programs/coe/indicator/cgb/public-charter-enrollment">Public Charter School Enrollment</a> </li> <li class=""> <a href="/programs/coe/indicator/cgf/english-learners">English Learners in Public Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/cge/racial-ethnic-enrollment">Racial/Ethnic Enrollment in Public Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/cgc/private-school-enrollment">Private School Enrollment</a> </li> <li class=""> <a href="/programs/coe/indicator/tgk/homeschooled-children">Homeschooled Children and Reasons for Homeschooling</a> </li> <li class=""> <a href="/programs/coe/indicator/cgg/students-with-disabilities">Students With Disabilities</a> </li> <li class=""> <a href="/programs/coe/indicator/lcb/school-choice-rural?tid=4">Enrollment and School Choice in Rural Areas </a> </li> <li class=""> <a href="/programs/coe/indicator/lcc/english-learners-rural?tid=4">English Learners and Students with Disabilities in Rural Public Schools</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Schools and Districts (2) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cla/elementary-secondary-schools">Characteristics of Elementary and Secondary Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/clb/free-or-reduced-price-lunch">Concentration of Public School Students Eligible for Free or Reduced-Price Lunch</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> School Crime and Safety </h6> <!-- level 3 --> <ul style="display: none;" class="level3"> <li onclick="treeElementClick(event)"> <h6 class="d-flex"> Violent Deaths (1) </h6> <!-- level 4 --> <ul style="display: none;" class="indicators indicator-links"> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a01/violent-deaths-and-shootings?tid=4">Violent Deaths at School and Away From School, and Active Shooter Incidents </a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex"> Nonfatal Student and Teacher Victimization (4) </h6> <!-- level 4 --> <ul style="display: none;" class="indicators indicator-links"> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a02/victimization-at-away-from-school?tid=4">Incidence of Nonfatal Victimization at School and Away From School </a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a03/victimization-at-school?tid=4">Prevalence of Criminal Victimization at School</a> </li> <li onclick="treeElementClick(event)" class="active"> <a href="/programs/coe/indicator/a04/threats-injuries-with-weapon?tid=4">Threats and Injuries With Weapons on School Property</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a05/teacher-attacked-by-students?tid=4">Teachers Threatened With Injury or Physically Attacked by Students</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex"> School Environment (6) </h6> <!-- level 4 --> <ul style="display: none;" class="indicators indicator-links"> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a06/criminal-incidents?tid=4">Criminal Incidents Recorded by Public Schools and Those Reported to Sworn Law Enforcement</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a07/discipline-problems?tid=4">Discipline Problems Reported by Public Schools</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a08/gangs-at-school?tid=4">Students’ Reports of Gangs at School</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a09/hate-related-words-graffiti?tid=4">Students’ Reports of Hate-Related Words and Hate-Related Graffiti</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a10/bullying-electronic-bullying?tid=4">Student Bullying</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a11/teacher-manage-classroom-behavior?tid=4">Teachers’ Reports of Disruptive Student Behaviors and Staff Rule Enforcement</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex"> Fights, Weapons, and Illegal Substances (4) </h6> <!-- level 4 --> <ul style="display: none;" class="indicators indicator-links"> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a12/physical-fights?tid=4">Physical Fights on School Property and Anywhere</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a13/student-weapons-firearms?tid=4">Students Carrying Weapons and Students’ Access to Firearms</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a14/student-alcohol-use?tid=4">Students’ Use of Alcohol</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a15/marijuana-use-drug-availability?tid=4">Marijuana Use and Illegal Drug Availability</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex"> Fear and Avoidance (2) </h6> <!-- level 4 --> <ul style="display: none;" class="indicators indicator-links"> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a16/student-perception-of-safety?tid=4">Students’ Perceptions of Personal Safety at School and Away From School</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a17/student-school-avoidance?tid=4">Students’ Reports of Avoiding School Activities or Classes or Specific Places in School </a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex"> Discipline, Safety, and Health Practices (4) </h6> <!-- level 4 --> <ul style="display: none;" class="indicators indicator-links"> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a18/serious-disciplinary-actions?tid=4">Serious Disciplinary Actions Taken by Public Schools</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a19/school-reported-safety-practices?tid=4">Safety and Security Practices at Public Schools</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a20/student-reported-safety-measures?tid=4">Students’ Reports of Safety and Security Measures Observed at School</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/a23/school-mental-health-services?tid=4">Prevalence of Mental Health Services Provided by Public Schools and Limitations in Schools’ Efforts to Provide Mental Health Services</a> </li> </ul> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Technology (3) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/tcb/covid-impact-elementary-secondary">Impact of the Coronavirus Pandemic on the Elementary and Secondary Education System </a> </li> <li class=""> <a href="/programs/coe/indicator/cch/home-internet-access">Children’s Internet Access at Home</a> </li> <li class=""> <a href="/programs/coe/indicator/lfc/internet-access-students-rural?tid=4">Rural Students’ Access to the Internet</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Teachers and Staff (10) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/clr/public-school-teachers">Characteristics of Public School Teachers</a> </li> <li class=""> <a href="/programs/coe/indicator/sld/public-private-school-teachers">Characteristics of Traditional Public, Public Charter, and Private School Teachers</a> </li> <li class=""> <a href="/programs/coe/indicator/tlc/alternative-route-certification">Characteristics of Public School Teachers Who Completed Alternative Route to Certification Programs</a> </li> <li class=""> <a href="/programs/coe/indicator/tls/elem-sec-teacher-openings?tid=4">Teacher Openings in Elementary and Secondary Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/cls/public-school-principals">Characteristics of Public and Private School Principals</a> </li> <li class=""> <a href="/programs/coe/indicator/slc/teacher-turnover">Teacher Turnover: Stayers, Movers, and Leavers</a> </li> <li class=""> <a href="/programs/coe/indicator/slb/principal-turnover">Principal Turnover: Stayers, Movers, and Leavers</a> </li> <li class=""> <a href="/programs/coe/indicator/lle/staff-schools-rural?tid=4">Staff in Rural Public Elementary and Secondary School Systems</a> </li> <li class=""> <a href="/programs/coe/indicator/lla/teachers-rural?tid=4">Characteristics, Attitudes, and Behaviors of Principals in Rural Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/llb?tid=4">Characteristics, Credentials, and Experiences of Teachers in Rural Schools</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Student Learning </h6> <!-- level 3 --> <ul style="display: none;" class="level3"> <li onclick="treeElementClick(event)"> <h6 class="d-flex"> Assessments (8) </h6> <!-- level 4 --> <ul style="display: none;" class="indicators indicator-links"> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/cnb/reading-performance">Reading Performance</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/cnc/mathematics-performance">Mathematics Performance</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/cne/science-performance">Science Performance</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/snd/technology-engineering-literacy">Technology and Engineering Literacy</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/cnj/reading-math-score-trends">Reading and Mathematics Score Trends</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/cns/intl-grade4-reading?tid=4">International Comparisons: Reading Literacy at Grade 4</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/cnt/intl-grades-4-8-math-science?tid=4">International Comparisons: Mathematics and Science Achievement at Grades 4 and 8</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/cnu/intl-age15-literacy?tid=4">International Comparisons: Reading, Mathematics, and Science Literacy of 15-Year-Old Students</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex"> Courses and School Supports (4) </h6> <!-- level 4 --> <ul style="display: none;" class="indicators indicator-links"> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/toa/k-12-covid-recovery?tid=4">Recovery From the Coronavirus Pandemic in K&ndash;12 Education</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/sod/high-school-courses">High School Mathematics and Science Course Completion</a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/tob?tid=4">Career and Technical Education in the United States </a> </li> <li onclick="treeElementClick(event)" class=""> <a href="/programs/coe/indicator/lce/career-and-technical-education-programs-in-rural-high-schools?tid=4">Career and Technical Education Programs in Rural High Schools</a> </li> </ul> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> High School Persistence and Completion (3) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/coj/status-dropout-rates">Status Dropout Rates</a> </li> <li class=""> <a href="/programs/coe/indicator/coi/high-school-graduation-rates">High School Graduation Rates</a> </li> <li class=""> <a href="/programs/coe/indicator/lba/high-school-graduation-rates-rural">Public High School Graduation Rates in Rural Areas</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Finances and Governance (2) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cma/public-school-revenue">Public School Revenue Sources</a> </li> <li class=""> <a href="/programs/coe/indicator/cmb/public-school-expenditure">Public School Expenditures</a> </li> </ul> </li> </ul> </li> <li id="li-74" onclick="treeElementClick(event, '74')" class="topic-root yellow" data-id="74"> <h5> Postsecondary Education </h5> <!-- level 2 --> <ul style="display: none;" class="level2"> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Postsecondary Students (8) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cpa/immediate-college-enrollment-rate">Immediate College Enrollment Rate</a> </li> <li class=""> <a href="/programs/coe/indicator/cpb/college-enrollment-rate">College Enrollment Rates</a> </li> <li class=""> <a href="/programs/coe/indicator/tpb/covid-impact-postsecondary-plans">Impact of the Coronavirus Pandemic on Fall Plans for Postsecondary Education</a> </li> <li class=""> <a href="/programs/coe/indicator/cha/undergrad-enrollment">Undergraduate Enrollment</a> </li> <li class=""> <a href="/programs/coe/indicator/chb/postbaccalaureate-enrollment">Postbaccalaureate Enrollment</a> </li> <li class=""> <a href="/programs/coe/indicator/csb/postsecondary-students">Characteristics of Postsecondary Students</a> </li> <li class=""> <a href="/programs/coe/indicator/ssa/college-student-employment">College Student Employment</a> </li> <li class=""> <a href="/programs/coe/indicator/lbb/postsecondary-enrollment-rural?tid=74">Postsecondary Enrollment Status of Youth From Rural Areas</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Institutions (1) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/csa/postsecondary-institutions">Characteristics of Degree-Granting Postsecondary Institutions</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Campus Crime and Safety (2) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/a21/postsecondary-criminal-incidents?tid=74">Criminal Incidents at Postsecondary Institutions </a> </li> <li class=""> <a href="/programs/coe/indicator/a22/postsecondary-hate-crimes?tid=74">Hate Crime Incidents at Postsecondary Institutions </a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Faculty and Staff (1) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/csc/postsecondary-faculty">Characteristics of Postsecondary Faculty</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Completions and Graduation Rates (6) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cts/postsecondary-certificate-degree">Postsecondary Certificates and Degrees Conferred </a> </li> <li class=""> <a href="/programs/coe/indicator/cta/undergrad-degree-fields">Undergraduate Degree Fields</a> </li> <li class=""> <a href="/programs/coe/indicator/ctb/graduate-degree-fields">Graduate Degree Fields </a> </li> <li class=""> <a href="/programs/coe/indicator/ctr/undergrad-retention-graduation">Undergraduate Retention and Graduation Rates</a> </li> <li class=""> <a href="/programs/coe/indicator/ctu">Postsecondary Outcomes for Nontraditional and Traditional Undergraduate Students</a> </li> <li class=""> <a href="/programs/coe/indicator/tob?tid=74">Career and Technical Education in the United States </a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Finances and Resources (6) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cua/undergrad-costs">Price of Attending an Undergraduate Institution</a> </li> <li class=""> <a href="/programs/coe/indicator/cub/undergrad-student-loans">Loans for Undergraduate Students and Debt for Bachelor’s Degree Recipients</a> </li> <li class=""> <a href="/programs/coe/indicator/cuc/financial-aid-sources">Sources of Financial Aid</a> </li> <li class=""> <a href="/programs/coe/indicator/tub/graduate-student-loan-debt">Trends in Student Loan Debt for Graduate School Completers</a> </li> <li class=""> <a href="/programs/coe/indicator/cud/postsecondary-institution-revenue">Postsecondary Institution Revenues </a> </li> <li class=""> <a href="/programs/coe/indicator/cue/postsecondary-institution-expense">Postsecondary Institution Expenses </a> </li> </ul> </li> </ul> </li> <li id="li-104" onclick="treeElementClick(event, '104')" class="topic-root yellow" data-id="104"> <h5> Population Characteristics and Economic Outcomes </h5> <!-- level 2 --> <ul style="display: none;" class="level2"> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Population Characteristics (3) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/caa/young-adult-attainment">Educational Attainment of Young Adults</a> </li> <li class=""> <a href="/programs/coe/indicator/sae/nondegree-work-credentials">Nondegree Work Credentials and Work Experience Programs</a> </li> <li class=""> <a href="/programs/coe/indicator/lbc/educational-attainment-rural?tid=104">Educational Attainment in Rural Areas</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Economic Outcomes (5) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cbc/employment-unemployment-rates">Employment and Unemployment Rates by Educational Attainment</a> </li> <li class=""> <a href="/programs/coe/indicator/sbc/bachelor-degree-holder-outcomes">Employment Outcomes of Bachelor’s Degree Holders</a> </li> <li class=""> <a href="/programs/coe/indicator/cba/annual-earnings">Annual Earnings by Educational Attainment</a> </li> <li class=""> <a href="/programs/coe/indicator/tbe/outcomes-by-socioeconomic-status">Young Adult Educational and Employment Outcomes by Family Socioeconomic Status</a> </li> <li class=""> <a href="/programs/coe/indicator/col/not-in-school-not-working-neet">Young Adults Neither Enrolled in School nor Working</a> </li> </ul> </li> </ul> </li> <li id="li-114" onclick="treeElementClick(event, '114')" class="topic-root yellow" data-id="114"> <h5> International Comparisons </h5> <!-- level 2 --> <ul style="display: none;" class="level2"> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Assessments (3) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cns/intl-grade4-reading?tid=114">International Comparisons: Reading Literacy at Grade 4</a> </li> <li class=""> <a href="/programs/coe/indicator/cnt/intl-grades-4-8-math-science?tid=114">International Comparisons: Mathematics and Science Achievement at Grades 4 and 8</a> </li> <li class=""> <a href="/programs/coe/indicator/cnu/intl-age15-literacy?tid=114">International Comparisons: Reading, Mathematics, and Science Literacy of 15-Year-Old Students</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Enrollment and Attainment (2) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cgh/enrollment-rates-by-country">Enrollment Rates by Country</a> </li> <li class=""> <a href="/programs/coe/indicator/cac/intl-ed-attainment">International Educational Attainment</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Finances (1) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/cmd/education-expenditures-by-country">Education Expenditures by Country</a> </li> </ul> </li> </ul> </li> <li id="li-200" onclick="treeElementClick(event, '200')" class="topic-root yellow" data-id="200"> <h5> School Crime and Safety </h5> <!-- level 2 --> <ul style="display: none;" class="level2"> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Violent Deaths (1) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/a01/violent-deaths-and-shootings?tid=200">Violent Deaths at School and Away From School, and Active Shooter Incidents </a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Nonfatal Student and Teacher Victimization&#xD;&#xA; (4) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/a02/victimization-at-away-from-school?tid=200">Incidence of Nonfatal Victimization at School and Away From School </a> </li> <li class=""> <a href="/programs/coe/indicator/a03/victimization-at-school?tid=200">Prevalence of Criminal Victimization at School</a> </li> <li class="active"> <a href="/programs/coe/indicator/a04/threats-injuries-with-weapon?tid=200">Threats and Injuries With Weapons on School Property</a> </li> <li class=""> <a href="/programs/coe/indicator/a05/teacher-attacked-by-students?tid=200">Teachers Threatened With Injury or Physically Attacked by Students</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> School Environment (6) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/a06/criminal-incidents?tid=200">Criminal Incidents Recorded by Public Schools and Those Reported to Sworn Law Enforcement</a> </li> <li class=""> <a href="/programs/coe/indicator/a07/discipline-problems?tid=200">Discipline Problems Reported by Public Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/a08/gangs-at-school?tid=200">Students’ Reports of Gangs at School</a> </li> <li class=""> <a href="/programs/coe/indicator/a09/hate-related-words-graffiti?tid=200">Students’ Reports of Hate-Related Words and Hate-Related Graffiti</a> </li> <li class=""> <a href="/programs/coe/indicator/a10/bullying-electronic-bullying?tid=200">Student Bullying</a> </li> <li class=""> <a href="/programs/coe/indicator/a11/teacher-manage-classroom-behavior?tid=200">Teachers’ Reports of Disruptive Student Behaviors and Staff Rule Enforcement</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Fights, Weapons, and Illegal Substances (4) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/a12/physical-fights?tid=200">Physical Fights on School Property and Anywhere</a> </li> <li class=""> <a href="/programs/coe/indicator/a13/student-weapons-firearms?tid=200">Students Carrying Weapons and Students’ Access to Firearms</a> </li> <li class=""> <a href="/programs/coe/indicator/a14/student-alcohol-use?tid=200">Students’ Use of Alcohol</a> </li> <li class=""> <a href="/programs/coe/indicator/a15/marijuana-use-drug-availability?tid=200">Marijuana Use and Illegal Drug Availability</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Fear and Avoidance (2) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/a16/student-perception-of-safety?tid=200">Students’ Perceptions of Personal Safety at School and Away From School</a> </li> <li class=""> <a href="/programs/coe/indicator/a17/student-school-avoidance?tid=200">Students’ Reports of Avoiding School Activities or Classes or Specific Places in School </a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Discipline, Safety, and Health Practices (4) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/a18/serious-disciplinary-actions?tid=200">Serious Disciplinary Actions Taken by Public Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/a19/school-reported-safety-practices?tid=200">Safety and Security Practices at Public Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/a20/student-reported-safety-measures?tid=200">Students’ Reports of Safety and Security Measures Observed at School</a> </li> <li class=""> <a href="/programs/coe/indicator/a23/school-mental-health-services?tid=200">Prevalence of Mental Health Services Provided by Public Schools and Limitations in Schools’ Efforts to Provide Mental Health Services</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Campus Crime and Safety (2) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/a21/postsecondary-criminal-incidents?tid=200">Criminal Incidents at Postsecondary Institutions </a> </li> <li class=""> <a href="/programs/coe/indicator/a22/postsecondary-hate-crimes?tid=200">Hate Crime Incidents at Postsecondary Institutions </a> </li> </ul> </li> </ul> </li> <li id="li-1000" onclick="treeElementClick(event, '1000')" class="topic-root yellow" data-id="1000"> <h5> Education Across America </h5> <!-- level 2 --> <ul style="display: none;" class="level2"> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Family Characteristics (3) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/lfc/internet-access-students-rural?tid=1000">Rural Students’ Access to the Internet</a> </li> <li class=""> <a href="/programs/coe/indicator/lfb/home-environment-education-rural?tid=1000">Educational Expectations and Involvement of Parents in Rural Areas</a> </li> <li class=""> <a href="/programs/coe/indicator/lfa/family-characteristics-rural?tid=1000">Children in Rural Areas and Their Family Characteristics</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Educational Experiences (5) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/lca/early-childhood-care-rural?tid=1000">Early Childhood Care and Education Programs in Rural Areas</a> </li> <li class=""> <a href="/programs/coe/indicator/lcc/english-learners-rural?tid=1000">English Learners and Students with Disabilities in Rural Public Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/lcb/school-choice-rural?tid=1000">Enrollment and School Choice in Rural Areas </a> </li> <li class=""> <a href="/programs/coe/indicator/lce/career-and-technical-education-programs-in-rural-high-schools?tid=1000">Career and Technical Education Programs in Rural High Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/lcd">College Preparatory Coursework in Rural High Schools</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> School Resources and Staffing (6) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/lle/staff-schools-rural?tid=1000">Staff in Rural Public Elementary and Secondary School Systems</a> </li> <li class=""> <a href="/programs/coe/indicator/lla/teachers-rural?tid=1000">Characteristics, Attitudes, and Behaviors of Principals in Rural Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/llb?tid=1000">Characteristics, Credentials, and Experiences of Teachers in Rural Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/lld">Teachers of English Learners in Rural Public and Private Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/llf">Teachers of Students With Disabilities in Rural Public and Private Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/llc">Difficulty Hiring Teachers in Rural Areas</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> Educational Outcomes (3) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/lbb/postsecondary-enrollment-rural?tid=1000">Postsecondary Enrollment Status of Youth From Rural Areas</a> </li> <li class=""> <a href="/programs/coe/indicator/lbc/educational-attainment-rural?tid=1000">Educational Attainment in Rural Areas</a> </li> <li class=""> <a href="/programs/coe/indicator/lba/high-school-graduation-rates-rural">Public High School Graduation Rates in Rural Areas</a> </li> </ul> </li> </ul> </li> <li id="li-300" onclick="treeElementClick(event, '300')" class="topic-root yellow" data-id="300"> <h5> Spotlight </h5> <!-- level 2 --> <ul style="display: none;" class="level2"> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> 2023 Spotlights (2) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/tls/elem-sec-teacher-openings?tid=300">Teacher Openings in Elementary and Secondary Schools</a> </li> <li class=""> <a href="/programs/coe/indicator/toa/k-12-covid-recovery?tid=300">Recovery From the Coronavirus Pandemic in K&ndash;12 Education</a> </li> </ul> </li> <li onclick="treeElementClick(event)"> <h6 class="d-flex m-h has-child"> <img src="/programs/coe/images/icon-plus.svg" class="icon-plus" alt="Expand list" /> <img src="/programs/coe/images/icon-minus.svg" class="icon-minus" alt="Collapse list" /> 2024 Spotlights (1) </h6> <!-- level 3 --> <ul style="display: none;" class="indicators indicator-links"> <li class=""> <a href="/programs/coe/indicator/tob?tid=300">Career and Technical Education in the United States </a> </li> </ul> </li> <li onclick="treeElementClick(event)" class="spotlight-link "> <h6> <a href="/programs/coe/indicator/spotlight-archive?tid=300">Spotlight Archive</a> </h6> </li> </ul> </li> <li class="related-sites"> <div> <h4>Related sites</h4> <ul> <li><h5><a href="/programs/coe/ataglance" data-ev data-ev-n="click" data-ev-c="related-sites" data-ev-l="at-a-glance">Condition of Education At a Glance</a></h5></li> <li><h5><a href="/programs/coe/guide" data-ev data-ev-n="click" data-ev-c="related-sites" data-ev-l="reader-guide">Reader’s Guide </a></h5></li> <li><h5><a href="/programs/coe/sources">Guide to Sources</a></h5></li> <li><h5><a href="/programs/coe/glossary">Glossary</a></h5></li> <li> <h5> <a href="https://nces.ed.gov/transfer.asp?sec=true&amp;location=cdc.gov/healthyyouth/data/yrbs/index.htm" target="_blank" data-ev data-ev-n="click" data-ev-c="related-sites" data-ev-l="survey-link"> Go to the Youth Risk Behavior Surveillance System (YRBSS) Website </a> </h5> </li> <li><h5><a href="/programs/digest/" target="_blank" data-ev data-ev-n="click" data-ev-c="related-sites" data-ev-l="digest-tables">Digest Tables</a></h5></li> <li><h5><a href="/pubsearch/getpubcats.asp?sid=091" target="_blank" data-ev data-ev-n="click" data-ev-c="related-sites" data-ev-l="annual-reports-publications">Annual Reports Publications & Products</a></h5></li> <li><h5><a href="/fastfacts/" target="_blank" data-ev data-ev-n="click" data-ev-c="related-sites" data-ev-l="fast-facts">Fast Facts</a></h5></li> </ul> </div> </li> </ul> </div> <div class="collapsed-menu"> <ul class="d-flex flex-column justify-content-center align-content-center"> <li class="previous " data-topic-url="/programs/coe/family"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/fam-icon.svg" data-image-hover="/programs/coe/images/fam-hover-sidebar.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2 class="text-black">Family <br /> Characteristics</h2> </div> </div> </li> <li class=" " data-topic-url="/programs/coe/preprimary-elementary-and-secondary"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/preprim-icon-white.svg" data-image-hover="/programs/coe/images/preprim-hover-sidebar.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2>Preprimary, Elementary, <br /> and Secondary Education</h2> </div> </div> </li> <li class=" " data-topic-url="/programs/coe/postsecondary"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/postsec-icon-white.svg" data-image-hover="/programs/coe/images/postsec-hover-sidebar.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2>Postsecondary <br /> Education</h2> </div> </div> </li> <li class=" " data-topic-url="/programs/coe/population-and-economic-outcomes"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/pop-icon-white.svg" data-image-hover="/programs/coe/images/pop-hover-sidebar.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2>Population Characteristics <br /> and Economic Outcomes</h2> </div> </div> </li> <li class=" " data-topic-url="/programs/coe/international"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/international-icon-white.svg" data-image-hover="/programs/coe/images/international-hover-sidebar.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2>International <br /> Comparisons</h2> </div> </div> </li> <li class=" " data-topic-url="/programs/coe/crime-and-safety"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/school-crime-white.svg" data-image-hover="/programs/coe/images/school-crime-hover-sidebar.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2>School Crime <br /> and Safety</h2> </div> </div> </li> <li class=" " data-topic-url="/programs/coe/locale"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/map-hover-sidebar.svg" data-image-hover="/programs/coe/images/map.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2>Education Across<br /> America</h2> </div> </div> </li> <li class="spotlight-collapsed " data-topic-url="/programs/coe/spotlight"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/spotlight-white.svg" data-image-hover="/programs/coe/images/spotlight-hover-sidebar.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2 class="mt-2">Spotlight</h2> </div> </div> </li> <li id="collapsed-menu-related-sites"> <div class="d-flex align-content-center"> <img src="/programs/coe/images/share-link-sidebar.svg" data-image-hover="/programs/coe/images/share-link-sidebar-hover.svg" alt="" /> <div class="menu-title flex-grow-1"> <h2>Related <br /> sites</h2> </div> </div> </li> </ul> </div> </div> <div class="info flex-grow-1" style="max-width: 100%;"> <div class="d-flex title-indicator"> <img src="/programs/coe/images/preprim-icon.svg" alt="" /> <h6 class="flex-grow-1">Preprimary, Elementary, and Secondary Education</h6> <div class="indicator-menu-mobile" data-indicator-menu-mobile></div> </div> <h2 class="title mb-3" data-id="1079">Threats and Injuries With Weapons on School Property</h2> <div class="d-flex align-items-center"> <div class="flex-grow-1"> <div class="d-flex mt-15"> <div class="last-updated">Last Updated: May 2021</div> <div class="ml-2 mr-2 separator" style="color: #576f7f">|</div> <div><a href="#suggested-citation">Suggested citation</a></div> </div> <div class="multiple-topics">This indicator also appears under <i><strong>School Crime and Safety.</strong></i></div> </div> <div class="pt-2 d-none d-md-block d-lg-block"> <a data-ev data-ev-n="click" data-ev-c="download" data-ev-l="pdf" href="https://nces.ed.gov/programs/coe/pdf/2021/a04_508c.pdf" target="_blank" class="button button--large no-underline download-pdf">Download PDF</a> </div> </div> <div class="pt-2 d-sm-block d-md-none"> <a data-ev data-ev-n="click" data-ev-c="download" data-ev-l="pdf" href="https://nces.ed.gov/programs/coe/pdf/2021/a04_508c.pdf" target="_blank" class="button button--large no-underline download-pdf">Download PDF</a> </div> <div class="note" style="margin-bottom: 17px;" data-p="0" data-c-id="1515" data-c-seq="1"> In 2019, about 7 percent of students in grades 9–12 reported that they had been threatened or injured with a weapon on school property during the previous 12 months. The percentage of students who reported being threatened or injured with a weapon on school property decreased from 8 percent in 2009 to 6 percent in 2017; the percentage in 2019 was higher than that in 2017 but not measurably different from the percentage in 2009. </div> <div class="" style="margin-bottom: 17px;" data-p="1" data-c-id="1516" data-c-seq="2"> This indicator uses data from the Youth Risk Behavior Surveillance System (YRBSS), which asked students in grades 9–12 whether they had been threatened or injured “with a weapon such as a gun, knife, or club on school property”<sup><a href='#fn1' name='fr1'>1</a></sup> during the 12 months preceding the survey. </div> <a id="select-another-taxonomy"></a> <p>Select a subgroup characteristic from the drop-down menu below to view relevant text and figures.</p> <div class="complex-label"> <a id="tag-dropdown" style="position:relative; top: -75px"></a> <!-- Dropdown to select Taxonomy Item --> <div class="subgroup"> <div class="dropdown dropdown--primary m-0"> <a class="dropdown-toggle" role="button" id="subgroupMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span id="select-taxonomy-item-title">Grade level/Student level</span> <span class="arrow"></span> </a> <div class="dropdown-menu" aria-labelledby="subgroupMenuButton" style="width: 100%;"> <a class="dropdown-item d-none" id="all-available-findings" href="javascript:void();" onclick="selectTaxonomyItem(event, -1, null)">All available findings</a> <a data-ev data-ev-n="click" data-ev-c="indicator" data-ev-l="subgroup-chaacteristics-filter" style="" class="dropdown-item" href="javascript:void();" onclick="selectTaxonomyItem(event, 1011, 'Grade level/Student level')"><span style="overflow-wrap: break-word;word-wrap: break-word;-ms-word-break: break-all;word-break: break-all;word-break: break-word;-ms-hyphens: auto;-webkit-hyphens: auto;hyphens: auto;">Grade level/Student level</span></a> <a data-ev data-ev-n="click" data-ev-c="indicator" data-ev-l="subgroup-chaacteristics-filter" style="" class="dropdown-item" href="javascript:void();" onclick="selectTaxonomyItem(event, 5, 'Race/ethnicity')"><span style="overflow-wrap: break-word;word-wrap: break-word;-ms-word-break: break-all;word-break: break-all;word-break: break-word;-ms-hyphens: auto;-webkit-hyphens: auto;hyphens: auto;">Race/ethnicity&#xD;&#xA;</span></a> <a data-ev data-ev-n="click" data-ev-c="indicator" data-ev-l="subgroup-chaacteristics-filter" style="" class="dropdown-item" href="javascript:void();" onclick="selectTaxonomyItem(event, 9, 'Sex or gender')"><span style="overflow-wrap: break-word;word-wrap: break-word;-ms-word-break: break-all;word-break: break-all;word-break: break-word;-ms-hyphens: auto;-webkit-hyphens: auto;hyphens: auto;">Sex or gender</span></a> <a data-ev data-ev-n="click" data-ev-c="indicator" data-ev-l="subgroup-chaacteristics-filter" style="" class="dropdown-item" href="javascript:void();" onclick="selectTaxonomyItem(event, 2017, 'Sexual identity')"><span style="overflow-wrap: break-word;word-wrap: break-word;-ms-word-break: break-all;word-break: break-all;word-break: break-word;-ms-hyphens: auto;-webkit-hyphens: auto;hyphens: auto;">Sexual identity</span></a> <a data-ev data-ev-n="click" data-ev-c="indicator" data-ev-l="subgroup-chaacteristics-filter" style="" class="dropdown-item" href="javascript:void();" onclick="selectTaxonomyItem(event, 1019, 'State/jurisdiction')"><span style="overflow-wrap: break-word;word-wrap: break-word;-ms-word-break: break-all;word-break: break-all;word-break: break-word;-ms-hyphens: auto;-webkit-hyphens: auto;hyphens: auto;">State/jurisdiction</span></a> <a data-ev data-ev-n="click" data-ev-c="indicator" data-ev-l="subgroup-chaacteristics-filter" style="" class="dropdown-item" href="javascript:void();" onclick="selectTaxonomyItem(event, 2, 'Time series')"><span style="overflow-wrap: break-word;word-wrap: break-word;-ms-word-break: break-all;word-break: break-all;word-break: break-word;-ms-hyphens: auto;-webkit-hyphens: auto;hyphens: auto;">Time series&#xD;&#xA;</span></a> </div> </div> </div> </div> <div class="chart" data-figure="1" id="figure-"> <div class="container-figure" id="download-container-figure-" style="background: #DFE6EB;"> <a id="1"></a> <figure>Figure 1. Percentage of students in grades 9–12 who reported being threatened or injured with a weapon on school property at least one time during the previous 12 months, by sex: Selected years, 2009 through 2019</figure> <div class="interact-wrapper d-none" onclick="removeChartInteractiveContainer(event)"> <div class="interact"> <img src="/programs/coe/images/chart-interact.svg" style="width: 70px;" /> <div class="mt-3">Hover, click, and tap to see more for all figures on this page.</div> </div> </div> <div class="mb-1" style="border: 0px solid #333;"> <div data-chart-id="6" class="wrap d-flex chart-root" style="width: 100%;__overflow: hidden; position: relative;"> <!-- This is Modify chart toolbar on the left --> <div class="options-container"> <div class="d-flex flex-column h-100"> <div class="flex-grow-1 options-container-body"></div> <div class="options-container-footer"> <div class="d-flex"> <div class="flex-grow-1 position-relative"> <img src="/programs/coe/images/circle-info.svg" /> <div class="tooltip-variables"> Users can select any combination of available years and categories in any figure format (i.e., bar or table). The initial selection of years and categories may not be optimal in different views. </div> </div> <div><a href="#">CLOSE</a></div> </div> </div> </div> </div> <div style="background-color: #fff;padding: 8px 8px; max-width: 100%;" class="flex-grow-1"> <div class="tools"> <div style="width: 120px;"><button class="modify" data-ev data-ev-n="click" data-ev-c="indicator" data-ev-l="modify-chart">Modify figure</button></div> <div class="switch-view"> <span data-ev data-ev-n="click" data-ev-c="indicator-chart" data-ev-l="line-view" class="chart-view-toggle active" data-type="line" style="cursor: pointer">Line</span> <span class="separator">|</span> <span data-ev data-ev-n="click" data-ev-c="indicator-chart" data-ev-l="bar-view" class="chart-view-toggle " data-type="bar" style="cursor: pointer">Bar</span> <span class="separator">|</span> <span data-ev data-ev-n="click" data-ev-c="indicator-chart" data-ev-l="table-view" class="chart-view-toggle" data-type="table" style="cursor: pointer">Table</span> </div> <div style="width: 160px" class="confidence-interval"> <div class="tooltip-wrapper"> <div> A confidence interval is a range of values that describes the uncertainty surrounding an estimate. Throughout the <i>Condition of Education</i>, confidence intervals are calculated as the estimate +/- the margin of error, based on a 95 percent level of confidence. This means that there is 95 percent certainty that the range includes the true or actual value of the statistic. </div> </div> <div class="d-flex align-items-center" data-ev data-ev-n="click" data-ev-c="indicator-chart" data-ev-l="confidence-interval"> <div class="mr-2"> <label for="error-check-6" style="">Confidence Interval</label> </div> <div> <img src="/programs/coe/images/toggle-off.svg" data-on-src="/programs/coe/images/toggle-on.svg" data-off-src="/programs/coe/images/toggle-off.svg" alt="Confidence Interval" id="toggle-icon-6" /> </div> <div class="d-none"> <input type="checkbox" id="error-check-6" /> </div> </div> </div> </div> <div class="switch-view-mobile"> <span class="chart-view-toggle active" data-type="line" style="cursor: pointer">Line</span> <span class="separator">|</span> <span class="chart-view-toggle " data-type="bar" style="cursor: pointer">Bar</span> <span class="separator">|</span> <span class="chart-view-toggle" data-type="table" style="cursor: pointer">Table</span> </div> <div id="chart-6" style="width:100%;"></div> <div id="table-6" style="width:100%; display: none;"></div> <div class="years-interval-message">Users can select years at irregular intervals. However, as a result, the distance between the data points will not be proportional to the number of years between them.</div> <div class="legends"></div> </div> <div class="embed-wrapper d-none"> <div class="embed-container"> <div class="float-right close">X</div> <h6>Embed this figure</h6> <div class="d-flex"> <div class="flex-grow-1 mr-1"> <textarea id="iframe-code-6"></textarea> </div> <div> <button id='btn-copy-6' data-clipboard-target="#iframe-code-6">Copy</button> </div> </div> </div> </div> </div> <script> new ClipboardJS('#copy-clipboard-__42a78de7100c4b30815c95d22979c1d9'); (function ($) { const options = { guid: '__42a78de7100c4b30815c95d22979c1d9', chartId: 6, isLastChart: true, isFirstChart: true, isComplexAndSimilar: false, singleChartView: false, isSmallMultiple: false, // figure details id: '6', // Guid which is assigned on the backend inside ViewComponent title: 'Figure 1. Percentage of students in grades 9&#x2013;12 who reported being threatened or injured with a weapon on school property at least one time during the previous 12 months, by sex: Selected years, 2009 through 2019', code: 'A04', figureNumber: '6', figureId: '', realFigureNumber: '1', element: '#chart-6', // ID of <div> that contains <svg> showGrid: true, disableCIToggle: false, // type of chart chartDirection: 'vertical', chartType: 'trend', chartView: 'line', // chart visuals horizontalLabel: '', xAxisSkip: null, showGroupedHover: true, maxScale: 0, style: { margin: { top: 30, bottom: 45, left: 40, right: 30 }, width: 750, height: 350, }, x: { label: '', padding: 0.2, addDollarToTop: false, 'break': { margin: null, maxValue: '' }, bold: false, labelHide: false }, y: { label: "Percent", addDollarToTop: false, 'break': { margin: null, maxValue: '' }, padding: 0.2 }, // type of data and data formats isPercentage: 'true' === 'true', formatMillions: 'true' === 'false', formatBillions: 'true' === 'false', projectionYear: null, roundValues: false, isSingleSerieWithTotalCategory: false, hasUnitedStatesAndOECD: false, hasAnySe: true, // tooltip configuration tooltip: { prefixDollar: false, tooltipRound: null, marginOfErrorDecimals: null }, // table view configuration table: { tableRound: null }, iframeUrl: 'http://nces.ed.gov/programs/coe/iframe/index?code=A04', // figure settings from db chartSettings: { 'table.prefix.dollar': false, caption: '', 'margin.bottom': 0, 'margin.right': 0, 'margin.top': 0, 'margin.left': 0, 'height': 0, defaultSelection: '', 'hide.serieIndex': '-1', 'title': '', 'projection.onyear': false, 'projection.bar.onyear': false, 'projection.left': '', 'projection.right': '', 'projection.bar.hide': false, 'projection.table.hide': false, 'download.projected.header': '', 'serie.0.color': '', 'serie.1.color': '', 'serie.2.color': '', 'serie.3.color': '', 'serie.4.color': '', 'serie.5.color': '', 'categoryIndex[0].bold': false, 'categoryIndex[1].bold': false, 'categoryIndex[2].bold': false, 'categoryIndex[3].bold': false, 'categoryIndex[4].bold': false, 'categoryIndex[5].bold': false, 'categoryIndex[6].bold': false, }, assets: { plusIconUrl: '/programs/coe/images/square-plus-regular.svg', minusIconUrl: '/programs/coe/images/square-minus-regular.svg' }, footnotes: [], // these footnotes are used when downloading CSV // Most important, the data figureData: JSON.parse('{"years":null,"groupTitle":"Lorem ipsum","variables":null,"key":null,"visible":true,"categories":[{"id":"238dd9cd-af37-4201-81bb-4c8fdb446167","label":"2009","key":"2009","visible":true,"header":false,"dataAsHeader":false,"noMove":false,"varName":null},{"id":"f9fe7c7f-c871-4f95-8aac-3847a097a0e5","label":"2011","key":"2011","visible":true,"header":false,"dataAsHeader":false,"noMove":false,"varName":null},{"id":"f85b7d08-06fb-42fe-8760-a10b94fa39e5","label":"2013","key":"2013","visible":true,"header":false,"dataAsHeader":false,"noMove":false,"varName":null},{"id":"ab1e4ed9-d3ec-4529-b82e-7f76a92a0da4","label":"2015","key":"2015","visible":true,"header":false,"dataAsHeader":false,"noMove":false,"varName":null},{"id":"2648acc8-794e-4ac5-ba8b-8fe51a38e61a","label":"2017","key":"2017","visible":true,"header":false,"dataAsHeader":false,"noMove":false,"varName":null},{"id":"01131ac8-7729-41ca-813a-c8746cd3d87e","label":"2019","key":"2019","visible":true,"header":false,"dataAsHeader":false,"noMove":false,"varName":null}],"series":[{"id":0,"key":"Total","visible":true,"values":[{"color":null,"virtualSerieId":0,"year":"2009","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"7.6633","value":7.6633,"placeholder":false,"valueRounded":8,"valueSeRaw":"0.373","valueSe":0.37,"valueSeNotRounded":0.373,"errorTopBottom":0.73,"roundValue":false,"displayValue":"7.7","displayValue_Table":"7.7","displayErrorTopBottom":"\u00B10.73","displayErrorTopBottom_Table":"\u00B10.73","displayValueSe":"0.37","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2011","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"7.42802","value":7.42802,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.30699","valueSe":0.31,"valueSeNotRounded":0.30699,"errorTopBottom":0.60,"roundValue":false,"displayValue":"7.4","displayValue_Table":"7.4","displayErrorTopBottom":"\u00B10.60","displayErrorTopBottom_Table":"\u00B10.60","displayValueSe":"0.31","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2013","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"6.909931","value":6.909931,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.377192","valueSe":0.38,"valueSeNotRounded":0.377192,"errorTopBottom":0.74,"roundValue":false,"displayValue":"6.9","displayValue_Table":"6.9","displayErrorTopBottom":"\u00B10.74","displayErrorTopBottom_Table":"\u00B10.74","displayValueSe":"0.38","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2015","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"5.966947","value":5.966947,"placeholder":false,"valueRounded":6,"valueSeRaw":"0.377725","valueSe":0.38,"valueSeNotRounded":0.377725,"errorTopBottom":0.74,"roundValue":false,"displayValue":"6.0","displayValue_Table":"6.0","displayErrorTopBottom":"\u00B10.74","displayErrorTopBottom_Table":"\u00B10.74","displayValueSe":"0.38","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2017","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"5.973827608808945","value":5.973827608808945,"placeholder":false,"valueRounded":6,"valueSeRaw":"0.3346030523550194","valueSe":0.33,"valueSeNotRounded":0.3346030523550194,"errorTopBottom":0.66,"roundValue":false,"displayValue":"6.0","displayValue_Table":"6.0","displayErrorTopBottom":"\u00B10.66","displayErrorTopBottom_Table":"\u00B10.66","displayValueSe":"0.33","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2019","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"7.371405022058044","value":7.371405022058044,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.5002347224023084","valueSe":0.50,"valueSeNotRounded":0.5002347224023084,"errorTopBottom":0.98,"roundValue":false,"displayValue":"7.4","displayValue_Table":"7.4","displayErrorTopBottom":"\u00B10.98","displayErrorTopBottom_Table":"\u00B10.98","displayValueSe":"0.50","interpret_With_Caution":null,"displayFootnotes":null}],"color":null},{"id":0,"key":"Male","visible":true,"values":[{"color":null,"virtualSerieId":0,"year":"2009","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"9.5899","value":9.5899,"placeholder":false,"valueRounded":10,"valueSeRaw":"0.5885","valueSe":0.59,"valueSeNotRounded":0.5885,"errorTopBottom":1.15,"roundValue":false,"displayValue":"9.6","displayValue_Table":"9.6","displayErrorTopBottom":"\u00B11.15","displayErrorTopBottom_Table":"\u00B11.15","displayValueSe":"0.59","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2011","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"9.5104","value":9.5104,"placeholder":false,"valueRounded":10,"valueSeRaw":"0.39199","valueSe":0.39,"valueSeNotRounded":0.39199,"errorTopBottom":0.77,"roundValue":false,"displayValue":"9.5","displayValue_Table":"9.5","displayErrorTopBottom":"\u00B10.77","displayErrorTopBottom_Table":"\u00B10.77","displayValueSe":"0.39","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2013","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"7.732051","value":7.732051,"placeholder":false,"valueRounded":8,"valueSeRaw":"0.537787","valueSe":0.54,"valueSeNotRounded":0.537787,"errorTopBottom":1.05,"roundValue":false,"displayValue":"7.7","displayValue_Table":"7.7","displayErrorTopBottom":"\u00B11.05","displayErrorTopBottom_Table":"\u00B11.05","displayValueSe":"0.54","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2015","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"7.031653","value":7.031653,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.50158","valueSe":0.50,"valueSeNotRounded":0.50158,"errorTopBottom":0.98,"roundValue":false,"displayValue":"7.0","displayValue_Table":"7.0","displayErrorTopBottom":"\u00B10.98","displayErrorTopBottom_Table":"\u00B10.98","displayValueSe":"0.50","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2017","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"7.776728712440264","value":7.776728712440264,"placeholder":false,"valueRounded":8,"valueSeRaw":"0.3926614061252915","valueSe":0.39,"valueSeNotRounded":0.3926614061252915,"errorTopBottom":0.77,"roundValue":false,"displayValue":"7.8","displayValue_Table":"7.8","displayErrorTopBottom":"\u00B10.77","displayErrorTopBottom_Table":"\u00B10.77","displayValueSe":"0.39","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2019","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"8.04467369088443","value":8.04467369088443,"placeholder":false,"valueRounded":8,"valueSeRaw":"0.575787249176551","valueSe":0.58,"valueSeNotRounded":0.575787249176551,"errorTopBottom":1.13,"roundValue":false,"displayValue":"8.0","displayValue_Table":"8.0","displayErrorTopBottom":"\u00B11.13","displayErrorTopBottom_Table":"\u00B11.13","displayValueSe":"0.58","interpret_With_Caution":null,"displayFootnotes":null}],"color":null},{"id":0,"key":"Female","visible":true,"values":[{"color":null,"virtualSerieId":0,"year":"2009","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"5.4887","value":5.4887,"placeholder":false,"valueRounded":5,"valueSeRaw":"0.3712","valueSe":0.37,"valueSeNotRounded":0.3712,"errorTopBottom":0.73,"roundValue":false,"displayValue":"5.5","displayValue_Table":"5.5","displayErrorTopBottom":"\u00B10.73","displayErrorTopBottom_Table":"\u00B10.73","displayValueSe":"0.37","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2011","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"5.16481","value":5.16481,"placeholder":false,"valueRounded":5,"valueSeRaw":"0.37031","valueSe":0.37,"valueSeNotRounded":0.37031,"errorTopBottom":0.73,"roundValue":false,"displayValue":"5.2","displayValue_Table":"5.2","displayErrorTopBottom":"\u00B10.73","displayErrorTopBottom_Table":"\u00B10.73","displayValueSe":"0.37","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2013","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"6.087698","value":6.087698,"placeholder":false,"valueRounded":6,"valueSeRaw":"0.40213","valueSe":0.40,"valueSeNotRounded":0.40213,"errorTopBottom":0.79,"roundValue":false,"displayValue":"6.1","displayValue_Table":"6.1","displayErrorTopBottom":"\u00B10.79","displayErrorTopBottom_Table":"\u00B10.79","displayValueSe":"0.40","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2015","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"4.620296","value":4.620296,"placeholder":false,"valueRounded":5,"valueSeRaw":"0.415295","valueSe":0.42,"valueSeNotRounded":0.415295,"errorTopBottom":0.81,"roundValue":false,"displayValue":"4.6","displayValue_Table":"4.6","displayErrorTopBottom":"\u00B10.81","displayErrorTopBottom_Table":"\u00B10.81","displayValueSe":"0.42","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2017","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"4.107095760857907","value":4.107095760857907,"placeholder":false,"valueRounded":4,"valueSeRaw":"0.4590248521042025","valueSe":0.46,"valueSeNotRounded":0.4590248521042025,"errorTopBottom":0.90,"roundValue":false,"displayValue":"4.1","displayValue_Table":"4.1","displayErrorTopBottom":"\u00B10.90","displayErrorTopBottom_Table":"\u00B10.90","displayValueSe":"0.46","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":"2019","displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":"6.506595916789498","value":6.506595916789498,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.6135611603692883","valueSe":0.61,"valueSeNotRounded":0.6135611603692883,"errorTopBottom":1.20,"roundValue":false,"displayValue":"6.5","displayValue_Table":"6.5","displayErrorTopBottom":"\u00B11.20","displayErrorTopBottom_Table":"\u00B11.20","displayValueSe":"0.61","interpret_With_Caution":null,"displayFootnotes":null}],"color":null}],"virtualSeries":[],"categoriesTitle":"Year","categoriesTitleOuter":null,"seriesTitle":"Sex","hasAnySe":true,"isSingleSerieWithTotalCategory":false,"hasUnitedStatesAndOECD":false,"noData":false,"jsonFootnotes":null}'), twoLevelFigureData: JSON.parse('null'), isComplexFigure: false } Object.defineProperty(options, 'element', { writable: false }); Object.defineProperty(options, 'maxScale', { writable: false }); // Get colors based on data options.colors = chartHelpers.getColorsForFigureData(options.figureData, options.twoLevelFigureData, options.chartType), //['#008624', '#FCC46C', '#84329B', '#6DB2E5'], chartHelpers.updateColorsFromSettings(options.colors, options.chartSettings); // Does years have gaps of category axis options.yearsHaveGaps = chartHelpers.getYearsHaveGaps(options.figureData, options.chartType), // Calculate ticksNumber options.ticksNumber = 10; if (options.maxScale && options.maxScale < 100) options.ticksNumber = 5; if (options.chartType === 'twolevelgroupeddata') { if ('' != null && ''.length > 0) options.x.label = ''; else options.x.label = options.twoLevelFigureData[0].categoriesTitleOuter + ' and ' + options.twoLevelFigureData[0].categoriesTitle.toLowerCase(); } else options.x.label = options.chartDirection == 'horizontal' ? '' : options.figureData.categoriesTitle; // Add footnotes to options object options.footnotes.push({ sup: '', content: 'NOTE: Survey respondents were asked about being threatened or injured “with a weapon such as a gun, knife, or club on school property.” “On school property” was not defined for respondents.' }); options.footnotes.push({ sup: '', content: 'SOURCE: Centers for Disease Control and Prevention, Division of Adolescent and School Health, Youth Risk Behavior Surveillance System (YRBSS), 2009 through 2019. See <i>Digest of Education Statistics 2020</i>, table <a href="https://nces.ed.gov/programs/digest/d20/tables/dt20_228.40.asp">228.40</a>.' }); sessionStorage.clear(); new FigureBuilder(options); })($); function removeChartInteractiveContainer(ev) { $(ev.currentTarget).remove(); setChartInteractiveCookie(); } </script> </div> <div class="figure-footnotes"> <p> <sup></sup>NOTE: <span id="footnote-table-view-" class='d-none'> To estimate the margin of error, the standard error is scaled based on the desired level of confidence in the estimate. Throughout the <i>Condition of Education</i>, margins of error are produced based on a 95 percent level of confidence. Margin of error is calculated as 1.96*standard error. </span> Survey respondents were asked about being threatened or injured “with a weapon such as a gun, knife, or club on school property.” “On school property” was not defined for respondents. </p> <p><sup></sup> SOURCE: Centers for Disease Control and Prevention, Division of Adolescent and School Health, Youth Risk Behavior Surveillance System (YRBSS), 2009 through 2019. See <i>Digest of Education Statistics 2020</i>, table <a data-ev data-ev-n="click" data-ev-c="figure-footnote" data-ev-l="table-view" href='https://nces.ed.gov/programs/digest/d20/tables/dt20_228.40.asp'>228.40</a>.</p> </div> </div> </div> <div data-p="1" data-c-id="1517" data-figure-number="1" data-c-seq="3" class="component-paragraph" id="component-1517"> <div> In 2019, about 7 percent of students in grades 9–12 reported that they had been threatened or injured with a weapon on school property during the 12 months preceding the survey (ranging from 5 percent in Massachusetts to 12 percent in California and Louisiana).<sup><a href='#fn2' name='fr2'>2</a></sup><sup>,</sup><sup><a href='#fn3' name='fr3'>3</a></sup> The percentage of students who reported being threatened or injured with a weapon on school property decreased from 8 percent in 2009 to 6 percent in 2017; the percentage in 2019 was higher than that in 2017 but not measurably different from the percentage in 2009. <span class="d-none" data-component-id="1517" data-show-figure="true" data-figure-number="1" data-figure-id="283" data-taxonomy-id="2">[Time series&#xD;&#xA;]</span> <span class="d-none" data-component-id="1517" data-show-figure="true" data-figure-number="1" data-figure-id="283" data-taxonomy-id="1019">[State/jurisdiction]</span> </div> <div id="component-1517-links" class="controls d-flex"> <div class="flex-grow-1"> <a href="#" class="d-none prev-finding-link" data-component-id="1517"><img src="/programs/coe/images/caret-left-solid.svg" alt="" /> Previous Finding</a> </div> <div class=""> <a href="" class="d-none next-finding-link" data-component-id="1517">Next Finding <img src="/programs/coe/images/caret-right-solid.svg" alt="" /></a> <a href="" class="d-none select-another-subgroup-link" data-component-id="1517">Select Another Subgroup Characteristic <img src="/programs/coe/images/bi-caret-up-fill.svg" alt="" /></a> </div> </div> </div> <div data-p="2" data-c-id="1518" data-figure-number="1" data-c-seq="4" class="component-paragraph" id="component-1518"> <div> Considering this victimization by sex, some 8 percent of male students and 7 percent of female students reported being threatened or injured with a weapon on school property in 2019; these percentages were not measurably different from their corresponding percentages in 2009. In each survey year from 2009 to 2017, a lower percentage of female students than of male students reported being threatened or injured with a weapon on school property. However, there was no measurable difference between the percentages for male and female students in 2019. <span class="d-none" data-component-id="1518" data-show-figure="false" data-figure-number="1" data-figure-id="283" data-taxonomy-id="2">[Time series&#xD;&#xA;]</span> <span class="d-none" data-component-id="1518" data-show-figure="false" data-figure-number="1" data-figure-id="283" data-taxonomy-id="9">[Sex or gender]</span> </div> <div id="component-1518-links" class="controls d-flex"> <div class="flex-grow-1"> <a href="#" class="d-none prev-finding-link" data-component-id="1518"><img src="/programs/coe/images/caret-left-solid.svg" alt="" /> Previous Finding</a> </div> <div class=""> <a href="" class="d-none next-finding-link" data-component-id="1518">Next Finding <img src="/programs/coe/images/caret-right-solid.svg" alt="" /></a> <a href="" class="d-none select-another-subgroup-link" data-component-id="1518">Select Another Subgroup Characteristic <img src="/programs/coe/images/bi-caret-up-fill.svg" alt="" /></a> </div> </div> </div> <div class="chart" data-figure="2" id="figure-"> <div class="container-figure" id="download-container-figure-" style="background: #DFE6EB;"> <a id="2"></a> <figure>Figure 2. Percentage of students in grades 9–12 who reported being threatened or injured with a weapon on school property at least one time during the previous 12 months, by selected student characteristics: 2019</figure> <div class="interact-wrapper d-none" onclick="removeChartInteractiveContainer(event)"> <div class="interact"> <img src="/programs/coe/images/chart-interact.svg" style="width: 70px;" /> <div class="mt-3">Hover, click, and tap to see more for all figures on this page.</div> </div> </div> <div class="mb-1" style="border: 0px solid #333;"> <div data-chart-id="7" class="wrap d-flex chart-root" style="width: 100%;__overflow: hidden; position: relative;"> <!-- This is Modify chart toolbar on the left --> <div class="options-container"> <div class="d-flex flex-column h-100"> <div class="flex-grow-1 options-container-body"></div> <div class="options-container-footer"> <div class="d-flex"> <div class="flex-grow-1 position-relative"> <img src="/programs/coe/images/circle-info.svg" /> <div class="tooltip-variables"> Users can select any combination of available years and categories in any figure format (i.e., bar or table). The initial selection of years and categories may not be optimal in different views. </div> </div> <div><a href="#">CLOSE</a></div> </div> </div> </div> </div> <div style="background-color: #fff;padding: 8px 8px; max-width: 100%;" class="flex-grow-1"> <div class="tools"> <div style="width: 120px;"><button class="modify" data-ev data-ev-n="click" data-ev-c="indicator" data-ev-l="modify-chart">Modify figure</button></div> <div class="switch-view"> <span data-ev data-ev-n="click" data-ev-c="indicator-chart" data-ev-l="bar-view" class="chart-view-toggle active" data-type="bar" style="cursor: pointer">Bar</span> <span class="separator">|</span> <span data-ev data-ev-n="click" data-ev-c="indicator-chart" data-ev-l="table-view" class="chart-view-toggle" data-type="table" style="cursor: pointer">Table</span> </div> <div style="width: 160px" class="confidence-interval"> <div class="tooltip-wrapper"> <div> A confidence interval is a range of values that describes the uncertainty surrounding an estimate. Throughout the <i>Condition of Education</i>, confidence intervals are calculated as the estimate +/- the margin of error, based on a 95 percent level of confidence. This means that there is 95 percent certainty that the range includes the true or actual value of the statistic. </div> </div> <div class="d-flex align-items-center" data-ev data-ev-n="click" data-ev-c="indicator-chart" data-ev-l="confidence-interval"> <div class="mr-2"> <label for="error-check-7" style="">Confidence Interval</label> </div> <div> <img src="/programs/coe/images/toggle-off.svg" data-on-src="/programs/coe/images/toggle-on.svg" data-off-src="/programs/coe/images/toggle-off.svg" alt="Confidence Interval" id="toggle-icon-7" /> </div> <div class="d-none"> <input type="checkbox" id="error-check-7" /> </div> </div> </div> </div> <div class="switch-view-mobile"> <span class="chart-view-toggle active" data-type="bar" style="cursor: pointer">Bar</span> <span class="separator">|</span> <span class="chart-view-toggle" data-type="table" style="cursor: pointer">Table</span> </div> <div id="chart-7" style="width:100%;"></div> <div id="table-7" style="width:100%; display: none;"></div> <div class="years-interval-message">Users can select years at irregular intervals. However, as a result, the distance between the data points will not be proportional to the number of years between them.</div> <div class="legends"></div> </div> <div class="embed-wrapper d-none"> <div class="embed-container"> <div class="float-right close">X</div> <h6>Embed this figure</h6> <div class="d-flex"> <div class="flex-grow-1 mr-1"> <textarea id="iframe-code-7"></textarea> </div> <div> <button id='btn-copy-7' data-clipboard-target="#iframe-code-7">Copy</button> </div> </div> </div> </div> </div> <script> new ClipboardJS('#copy-clipboard-__28a548eb78b747f589f1b328cb6c2ce0'); (function ($) { const options = { guid: '__28a548eb78b747f589f1b328cb6c2ce0', chartId: 7, isLastChart: true, isFirstChart: true, isComplexAndSimilar: false, singleChartView: false, isSmallMultiple: false, // figure details id: '7', // Guid which is assigned on the backend inside ViewComponent title: 'Figure 2. Percentage of students in grades 9&#x2013;12 who reported being threatened or injured with a weapon on school property at least one time during the previous 12 months, by selected student characteristics: 2019', code: 'A04', figureNumber: '7', figureId: '', realFigureNumber: '2', element: '#chart-7', // ID of <div> that contains <svg> showGrid: true, disableCIToggle: false, // type of chart chartDirection: 'horizontal', chartType: 'onelevelgroupedwithheaders', chartView: 'bar', // chart visuals horizontalLabel: 'Percent', xAxisSkip: null, showGroupedHover: true, maxScale: 0, style: { margin: { top: 30, bottom: 45, left: 40, right: 30 }, width: 750, height: 350, }, x: { label: '', padding: 0.2, addDollarToTop: false, 'break': { margin: null, maxValue: '' }, bold: false, labelHide: false }, y: { label: "Student characteristics", addDollarToTop: false, 'break': { margin: null, maxValue: '' }, padding: 0.2 }, // type of data and data formats isPercentage: 'true' === 'true', formatMillions: 'true' === 'false', formatBillions: 'true' === 'false', projectionYear: null, roundValues: false, isSingleSerieWithTotalCategory: true, hasUnitedStatesAndOECD: false, hasAnySe: true, // tooltip configuration tooltip: { prefixDollar: false, tooltipRound: null, marginOfErrorDecimals: null }, // table view configuration table: { tableRound: null }, iframeUrl: 'http://nces.ed.gov/programs/coe/iframe/index?code=A04', // figure settings from db chartSettings: { 'table.prefix.dollar': false, caption: '', 'margin.bottom': 0, 'margin.right': 0, 'margin.top': 0, 'margin.left': 0, 'height': 0, defaultSelection: '', 'hide.serieIndex': '-1', 'title': '', 'projection.onyear': false, 'projection.bar.onyear': false, 'projection.left': '', 'projection.right': '', 'projection.bar.hide': false, 'projection.table.hide': false, 'download.projected.header': '', 'serie.0.color': '', 'serie.1.color': '', 'serie.2.color': '', 'serie.3.color': '', 'serie.4.color': '', 'serie.5.color': '', 'categoryIndex[0].bold': false, 'categoryIndex[1].bold': false, 'categoryIndex[2].bold': false, 'categoryIndex[3].bold': false, 'categoryIndex[4].bold': false, 'categoryIndex[5].bold': false, 'categoryIndex[6].bold': false, }, assets: { plusIconUrl: '/programs/coe/images/square-plus-regular.svg', minusIconUrl: '/programs/coe/images/square-minus-regular.svg' }, footnotes: [], // these footnotes are used when downloading CSV // Most important, the data figureData: JSON.parse('{"years":null,"groupTitle":"Lorem ipsum","variables":null,"key":null,"visible":true,"categories":[{"id":"24dd3253-35d3-44a7-b7cf-a21f2dc76804","label":"Total","key":"Total_Total","visible":true,"header":true,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTTTTI"},{"id":"0cf86609-29fa-4c3f-9155-2d521f15aaea","label":"Race/ethnicity","key":"Race/ethnicity","visible":true,"header":true,"dataAsHeader":false,"noMove":false,"varName":null},{"id":"0facfb81-8ecf-46d4-a541-48360b5e7853","label":"White","key":"White_Race/ethnicity","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTWHTI"},{"id":"93f38c95-79b7-4b09-ada8-afdc66c9085b","label":"Black","key":"Black_Race/ethnicity","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTBLTI"},{"id":"65c7035e-5a24-4b71-bb18-46bc01635025","label":"Hispanic","key":"Hispanic_Race/ethnicity","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTHITI"},{"id":"3e6c09a3-b739-4678-bafd-2e1d494048a2","label":"Asian","key":"Asian_Race/ethnicity","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTASTI"},{"id":"6040ff81-033f-44e6-b1c8-6411d78a4567","label":"Pacific Islander","key":"Pacific Islander_Race/ethnicity","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTPITI"},{"id":"4458a395-b203-4195-85ad-3ca239b530ae","label":"American Indian/Alaska Native","key":"American Indian/Alaska Native_Race/ethnicity","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTAITI"},{"id":"9c17a62c-1639-4e0b-a8a2-460a6aa5e412","label":"Two or more races","key":"Two or more races_Race/ethnicity","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTTMTI"},{"id":"a03d3ea1-d4ea-4e1c-a9f2-060612ce1565","label":"Sexual identity^1^","key":"Sexual identity^1^","visible":true,"header":true,"dataAsHeader":false,"noMove":false,"varName":null},{"id":"58736577-2fac-4368-b493-274176947cb9","label":"Heterosexual","key":"Heterosexual_Sexual identity^1^","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTHSTI"},{"id":"c1ac7792-dedb-4e26-ae64-877b7674b68e","label":"Gay, lesbian, or bisexual","key":"Gay, lesbian, or bisexual_Sexual identity^1^","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTGLTI"},{"id":"e58d19aa-00c2-4f6a-86e0-c50d0013675d","label":"Not sure","key":"Not sure_Sexual identity^1^","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSCTTNSTI"},{"id":"a05b7ef6-8d99-46ec-8587-e18fd88c2c45","label":"Grade","key":"Grade","visible":true,"header":true,"dataAsHeader":false,"noMove":false,"varName":null},{"id":"0cf6996f-e465-4fc7-bb08-7c809175799a","label":"9th grade","key":"9th grade_Grade","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSC09TTTI"},{"id":"d4302ca2-c0bb-4475-9960-bcb4ab05757a","label":"10th grade","key":"10th grade_Grade","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSC10TTTI"},{"id":"839b8f8c-b207-45c6-836a-985d2bc6e977","label":"11th grade","key":"11th grade_Grade","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSC11TTTI"},{"id":"342a5291-4c57-4e77-aaaf-6c4c662d2d47","label":"12th grade","key":"12th grade_Grade","visible":true,"header":false,"dataAsHeader":true,"noMove":false,"varName":"PESETTSC12TTTI"}],"series":[{"id":0,"key":"Percentage of students","visible":true,"values":[{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTTTTI","state":null,"valueRaw":"7.371405022058044","value":7.371405022058044,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.5002347224023084","valueSe":0.50,"valueSeNotRounded":0.5002347224023084,"errorTopBottom":0.98,"roundValue":false,"displayValue":"7.4","displayValue_Table":"7.4","displayErrorTopBottom":"\u00B10.98","displayErrorTopBottom_Table":"\u00B10.98","displayValueSe":"0.50","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":null,"value":null,"placeholder":true,"valueRounded":null,"valueSeRaw":null,"valueSe":null,"valueSeNotRounded":null,"errorTopBottom":null,"roundValue":true,"displayValue":"\u0026ndash;","displayValue_Table":"\u0026ndash;","displayErrorTopBottom":"\u0026dagger;","displayErrorTopBottom_Table":"\u0026dagger;","displayValueSe":"\u0026dagger;","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTWHTI","state":null,"valueRaw":"7.098086061402195","value":7.098086061402195,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.6015858983668569","valueSe":0.60,"valueSeNotRounded":0.6015858983668569,"errorTopBottom":1.18,"roundValue":false,"displayValue":"7.1","displayValue_Table":"7.1","displayErrorTopBottom":"\u00B11.18","displayErrorTopBottom_Table":"\u00B11.18","displayValueSe":"0.60","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTBLTI","state":null,"valueRaw":"8.79069508826073","value":8.79069508826073,"placeholder":false,"valueRounded":9,"valueSeRaw":"1.019030398250169","valueSe":1.02,"valueSeNotRounded":1.019030398250169,"errorTopBottom":2.00,"roundValue":false,"displayValue":"8.8","displayValue_Table":"8.8","displayErrorTopBottom":"\u00B12.00","displayErrorTopBottom_Table":"\u00B12.00","displayValueSe":"1.02","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTHITI","state":null,"valueRaw":"6.899975867929384","value":6.899975867929384,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.7806925659842437","valueSe":0.78,"valueSeNotRounded":0.7806925659842437,"errorTopBottom":1.53,"roundValue":false,"displayValue":"6.9","displayValue_Table":"6.9","displayErrorTopBottom":"\u00B11.53","displayErrorTopBottom_Table":"\u00B11.53","displayValueSe":"0.78","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTASTI","state":null,"valueRaw":"3.172699492513689","value":3.172699492513689,"placeholder":false,"valueRounded":3,"valueSeRaw":"0.8726651805794905","valueSe":0.87,"valueSeNotRounded":0.8726651805794905,"errorTopBottom":1.71,"roundValue":false,"displayValue":"3.2","displayValue_Table":"3.2","displayErrorTopBottom":"\u00B11.71","displayErrorTopBottom_Table":"\u00B11.71","displayValueSe":"0.87","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":"!","stateName":null,"locationType":null,"variableName":"PESETTSCTTPITI","state":null,"valueRaw":"12.33756733091584","value":12.33756733091584,"placeholder":false,"valueRounded":12,"valueSeRaw":"5.758178125425506","valueSe":5.76,"valueSeNotRounded":5.758178125425506,"errorTopBottom":11.29,"roundValue":false,"displayValue":"12.3 !","displayValue_Table":"12.3 !","displayErrorTopBottom":"\u00B111.29","displayErrorTopBottom_Table":"\u00B111.29","displayValueSe":"5.76","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTAITI","state":null,"valueRaw":"12.5964612484388","value":12.5964612484388,"placeholder":false,"valueRounded":13,"valueSeRaw":"3.767176971520425","valueSe":3.77,"valueSeNotRounded":3.767176971520425,"errorTopBottom":7.38,"roundValue":false,"displayValue":"12.6","displayValue_Table":"12.6","displayErrorTopBottom":"\u00B17.38","displayErrorTopBottom_Table":"\u00B17.38","displayValueSe":"3.77","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTTMTI","state":null,"valueRaw":"11.41194132411707","value":11.41194132411707,"placeholder":false,"valueRounded":11,"valueSeRaw":"2.004299912936982","valueSe":2.00,"valueSeNotRounded":2.004299912936982,"errorTopBottom":3.93,"roundValue":false,"displayValue":"11.4","displayValue_Table":"11.4","displayErrorTopBottom":"\u00B13.93","displayErrorTopBottom_Table":"\u00B13.93","displayValueSe":"2.00","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":null,"value":null,"placeholder":true,"valueRounded":null,"valueSeRaw":null,"valueSe":null,"valueSeNotRounded":null,"errorTopBottom":null,"roundValue":true,"displayValue":"\u0026ndash;","displayValue_Table":"\u0026ndash;","displayErrorTopBottom":"\u0026dagger;","displayErrorTopBottom_Table":"\u0026dagger;","displayValueSe":"\u0026dagger;","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTHSTI","state":null,"valueRaw":"6.334630636710166","value":6.334630636710166,"placeholder":false,"valueRounded":6,"valueSeRaw":"0.4309631604498631","valueSe":0.43,"valueSeNotRounded":0.4309631604498631,"errorTopBottom":0.84,"roundValue":false,"displayValue":"6.3","displayValue_Table":"6.3","displayErrorTopBottom":"\u00B10.84","displayErrorTopBottom_Table":"\u00B10.84","displayValueSe":"0.43","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTGLTI","state":null,"valueRaw":"11.92598851120418","value":11.92598851120418,"placeholder":false,"valueRounded":12,"valueSeRaw":"1.444635285501696","valueSe":1.44,"valueSeNotRounded":1.444635285501696,"errorTopBottom":2.83,"roundValue":false,"displayValue":"11.9","displayValue_Table":"11.9","displayErrorTopBottom":"\u00B12.83","displayErrorTopBottom_Table":"\u00B12.83","displayValueSe":"1.44","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSCTTNSTI","state":null,"valueRaw":"12.92070553178538","value":12.92070553178538,"placeholder":false,"valueRounded":13,"valueSeRaw":"2.192768353116902","valueSe":2.19,"valueSeNotRounded":2.192768353116902,"errorTopBottom":4.30,"roundValue":false,"displayValue":"12.9","displayValue_Table":"12.9","displayErrorTopBottom":"\u00B14.30","displayErrorTopBottom_Table":"\u00B14.30","displayValueSe":"2.19","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":null,"state":null,"valueRaw":null,"value":null,"placeholder":true,"valueRounded":null,"valueSeRaw":null,"valueSe":null,"valueSeNotRounded":null,"errorTopBottom":null,"roundValue":true,"displayValue":"\u0026ndash;","displayValue_Table":"\u0026ndash;","displayErrorTopBottom":"\u0026dagger;","displayErrorTopBottom_Table":"\u0026dagger;","displayValueSe":"\u0026dagger;","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSC09TTTI","state":null,"valueRaw":"8.096743431778942","value":8.096743431778942,"placeholder":false,"valueRounded":8,"valueSeRaw":"0.6554747987089621","valueSe":0.66,"valueSeNotRounded":0.6554747987089621,"errorTopBottom":1.28,"roundValue":false,"displayValue":"8.1","displayValue_Table":"8.1","displayErrorTopBottom":"\u00B11.28","displayErrorTopBottom_Table":"\u00B11.28","displayValueSe":"0.66","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSC10TTTI","state":null,"valueRaw":"7.975932555753311","value":7.975932555753311,"placeholder":false,"valueRounded":8,"valueSeRaw":"0.8435104007694717","valueSe":0.84,"valueSeNotRounded":0.8435104007694717,"errorTopBottom":1.65,"roundValue":false,"displayValue":"8.0","displayValue_Table":"8.0","displayErrorTopBottom":"\u00B11.65","displayErrorTopBottom_Table":"\u00B11.65","displayValueSe":"0.84","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSC11TTTI","state":null,"valueRaw":"7.077272101693106","value":7.077272101693106,"placeholder":false,"valueRounded":7,"valueSeRaw":"0.7267321125545787","valueSe":0.73,"valueSeNotRounded":0.7267321125545787,"errorTopBottom":1.42,"roundValue":false,"displayValue":"7.1","displayValue_Table":"7.1","displayErrorTopBottom":"\u00B11.42","displayErrorTopBottom_Table":"\u00B11.42","displayValueSe":"0.73","interpret_With_Caution":null,"displayFootnotes":null},{"color":null,"virtualSerieId":0,"year":null,"displayPrefix":null,"displayPostfix":null,"stateName":null,"locationType":null,"variableName":"PESETTSC12TTTI","state":null,"valueRaw":"5.867262982362554","value":5.867262982362554,"placeholder":false,"valueRounded":6,"valueSeRaw":"0.8161762927970911","valueSe":0.82,"valueSeNotRounded":0.8161762927970911,"errorTopBottom":1.60,"roundValue":false,"displayValue":"5.9","displayValue_Table":"5.9","displayErrorTopBottom":"\u00B11.60","displayErrorTopBottom_Table":"\u00B11.60","displayValueSe":"0.82","interpret_With_Caution":null,"displayFootnotes":null}],"color":null}],"virtualSeries":[],"categoriesTitle":"","categoriesTitleOuter":"","seriesTitle":"Percentage of students","hasAnySe":true,"isSingleSerieWithTotalCategory":true,"hasUnitedStatesAndOECD":false,"noData":false,"jsonFootnotes":null}'), twoLevelFigureData: JSON.parse('null'), isComplexFigure: false } Object.defineProperty(options, 'element', { writable: false }); Object.defineProperty(options, 'maxScale', { writable: false }); // Get colors based on data options.colors = chartHelpers.getColorsForFigureData(options.figureData, options.twoLevelFigureData, options.chartType), //['#008624', '#FCC46C', '#84329B', '#6DB2E5'], chartHelpers.updateColorsFromSettings(options.colors, options.chartSettings); // Does years have gaps of category axis options.yearsHaveGaps = chartHelpers.getYearsHaveGaps(options.figureData, options.chartType), // Calculate ticksNumber options.ticksNumber = 10; if (options.maxScale && options.maxScale < 100) options.ticksNumber = 5; if (options.chartType === 'twolevelgroupeddata') { if ('Percent' != null && 'Percent'.length > 0) options.x.label = 'Percent'; else options.x.label = options.twoLevelFigureData[0].categoriesTitleOuter + ' and ' + options.twoLevelFigureData[0].categoriesTitle.toLowerCase(); } else options.x.label = options.chartDirection == 'horizontal' ? 'Percent' : options.figureData.categoriesTitle; // Add footnotes to options object options.footnotes.push({ sup: '', content: '! Interpret data with caution. The coefficient of variation (CV) for this estimate is between 30 and 50 percent.' }); options.footnotes.push({ sup: '1', content: 'Students were asked which of the following--“heterosexual (straight),” “gay or lesbian,” “bisexual,” or “not sure”--best described them.' }); options.footnotes.push({ sup: '', content: 'NOTE: Survey respondents were asked about being threatened or injured “with a weapon such as a gun, knife, or club on school property.” “On school property” was not defined for respondents. Race categories exclude persons of Hispanic ethnicity. Although rounded numbers are displayed, the figures are based on unrounded data.' }); options.footnotes.push({ sup: '', content: 'SOURCE: Centers for Disease Control and Prevention, Division of Adolescent and School Health, Youth Risk Behavior Surveillance System (YRBSS), 2019. See <i>Digest of Education Statistics 2020</i>, table <a href="https://nces.ed.gov/programs/digest/d20/tables/dt20_228.40.asp">228.40</a>.' }); sessionStorage.clear(); new FigureBuilder(options); })($); function removeChartInteractiveContainer(ev) { $(ev.currentTarget).remove(); setChartInteractiveCookie(); } </script> </div> <div class="figure-footnotes"> <p><sup></sup> ! Interpret data with caution. The coefficient of variation (CV) for this estimate is between 30 and 50 percent.</p> <p><sup>1</sup> Students were asked which of the following--“heterosexual (straight),” “gay or lesbian,” “bisexual,” or “not sure”--best described them.</p> <p> <sup></sup>NOTE: <span id="footnote-table-view-" class='d-none'> To estimate the margin of error, the standard error is scaled based on the desired level of confidence in the estimate. Throughout the <i>Condition of Education</i>, margins of error are produced based on a 95 percent level of confidence. Margin of error is calculated as 1.96*standard error. </span> Survey respondents were asked about being threatened or injured “with a weapon such as a gun, knife, or club on school property.” “On school property” was not defined for respondents. Race categories exclude persons of Hispanic ethnicity. Although rounded numbers are displayed, the figures are based on unrounded data. </p> <p><sup></sup> SOURCE: Centers for Disease Control and Prevention, Division of Adolescent and School Health, Youth Risk Behavior Surveillance System (YRBSS), 2019. See <i>Digest of Education Statistics 2020</i>, table <a data-ev data-ev-n="click" data-ev-c="figure-footnote" data-ev-l="table-view" href='https://nces.ed.gov/programs/digest/d20/tables/dt20_228.40.asp'>228.40</a>.</p> </div> </div> </div> <div data-p="3" data-c-id="1519" data-figure-number="2" data-c-seq="5" class="component-paragraph" id="component-1519"> <div> In 2019, the percentage of students in grades 9–12 who reported being threatened or injured with a weapon on school property during the previous 12 months was lower for Asian students (3 percent) than for students of most other racial/ethnic groups (ranging from 7 percent each for Hispanic students and White students to 13 percent for American Indian/Alaska Native students). In addition, the percentage was lower for Hispanic students and White students than for students of Two or more races (11 percent). <span class="d-none" data-component-id="1519" data-show-figure="true" data-figure-number="2" data-figure-id="284" data-taxonomy-id="5">[Race/ethnicity&#xD;&#xA;]</span> </div> <div id="component-1519-links" class="controls d-flex"> <div class="flex-grow-1"> <a href="#" class="d-none prev-finding-link" data-component-id="1519"><img src="/programs/coe/images/caret-left-solid.svg" alt="" /> Previous Finding</a> </div> <div class=""> <a href="" class="d-none next-finding-link" data-component-id="1519">Next Finding <img src="/programs/coe/images/caret-right-solid.svg" alt="" /></a> <a href="" class="d-none select-another-subgroup-link" data-component-id="1519">Select Another Subgroup Characteristic <img src="/programs/coe/images/bi-caret-up-fill.svg" alt="" /></a> </div> </div> </div> <div data-p="4" data-c-id="1520" data-figure-number="2" data-c-seq="6" class="component-paragraph" id="component-1520"> <div> There were also differences in victimization by students’ sexual identity and grade level. Since 2015, the YRBSS has included a question on students’ sexual identity by asking students in grades 9–12 which of the following best described them—”heterosexual (straight),” “gay or lesbian,” “bisexual,” or “not sure.”<sup><a href='#fn4' name='fr4'>4</a></sup> In 2019, the percentage of students in grades 9–12 who reported being threatened or injured with a weapon on school property during the previous 12 months was higher for students who were not sure about their sexual identity (13 percent) and for students who were gay, lesbian, or bisexual (12 percent) than for heterosexual students (6 percent). Additionally, a higher percentage of 9th-graders (8 percent) than of 12th-graders (6 percent) reported being threatened or injured with a weapon on school property. <span class="d-none" data-component-id="1520" data-show-figure="false" data-figure-number="2" data-figure-id="284" data-taxonomy-id="1011">[Grade level/Student level]</span> <span class="d-none" data-component-id="1520" data-show-figure="false" data-figure-number="2" data-figure-id="284" data-taxonomy-id="2017">[Sexual identity]</span> </div> <div id="component-1520-links" class="controls d-flex"> <div class="flex-grow-1"> <a href="#" class="d-none prev-finding-link" data-component-id="1520"><img src="/programs/coe/images/caret-left-solid.svg" alt="" /> Previous Finding</a> </div> <div class=""> <a href="" class="d-none next-finding-link" data-component-id="1520">Next Finding <img src="/programs/coe/images/caret-right-solid.svg" alt="" /></a> <a href="" class="d-none select-another-subgroup-link" data-component-id="1520">Select Another Subgroup Characteristic <img src="/programs/coe/images/bi-caret-up-fill.svg" alt="" /></a> </div> </div> </div> <!-- Indicator footnotes --> <br /> <div class="separator col-md-6 pl-0"> <div class="line line--secondary"></div> </div> <div class="footnotes"> <p> <a id="fn1" style="position: relative; top: -30px;"></a> <sup><a href="#fr1" data-footnote="scroll">1</a></sup> “On school property” was not defined for respondents. </p> <p> <a id="fn2" style="position: relative; top: -30px;"></a> <sup><a href="#fr2" data-footnote="scroll">2</a></sup> U.S. total data are representative of all public and private school students in grades 9–12 in the 50 states and the District of Columbia. U.S. total data were collected through a separate national survey rather than being aggregated from state-level data. The rest of this indicator is based on data from the national survey. </p> <p> <a id="fn3" style="position: relative; top: -30px;"></a> <sup><a href="#fr3" data-footnote="scroll">3</a></sup> In 2019, data at the <i>state-level</i> were available for 36 states and the District of Columbia. For detailed state-level data on the percentage of students in grades 9–12 who reported being threatened or injured with a weapon on school property during the 12 months preceding the survey, see <a href='/transfer.asp?location=nccd.cdc.gov/Youthonline/App/Results.aspx?TT=B&OUT=0&SID=HS&QID=H16&LID=LL&YID=2019&LID2=&YID2=&COL=T&ROW1=N&ROW2=N&HT=QQ&LCT=LL&FS=S1&FR=R1&FG=G1&FA=A1&FI=I1&FP=P1&FSL=S1&FRL=R1&FGL=G1&FAL=A1&FIL=I1&FPL=P1&PV=&TST=False&C1=&C2=&QP=G&DP=2&VA=St&CS=Y&SYID=&EYID=&SC=DEFAULT&SO=ASC'>the table on threats and injuries on school property for all locations in the YRBSS Youth Online Data Analysis Tool</a>. </p> <p> <a id="fn4" style="position: relative; top: -30px;"></a> <sup><a href="#fr4" data-footnote="scroll">4</a></sup> In this indicator, students who identified as “gay or lesbian” or “bisexual” are discussed together as the “gay, lesbian, or bisexual” group. Students were not asked whether they identified as transgender in the YRBSS. </p> </div> <!-- Supplemental information accordion --> <a id="supplemental-information"></a> <div> <div class="separator"> <div class="line line--primary"></div> </div> <h3 class="mt-3">Supplemental Information</h3> <div id="accordion" class="accordion"> <div class="accordion__wrapper"> <div class="accordion__header"> <h5 class="mb-0"> <button data-ev data-ev-n="click" data-ev-c="supplemental-information" data-ev-l="related-indicators" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse-1" aria-expanded="false" aria-controls="collapse-1"> Related Indicators and Resources </button> </h5> </div> <div id="collapse-1" class="collapse accordion__body" aria-labelledby="heading-1" data-parent="#accordion"> <div class="card-body"> <div> <div class="d-flex mb-3"> <div class="mr-2"><img src="/programs/coe/images/related-tables-icon.svg" alt="Indicator and Resources icon" /></div> <div> <a data-ev data-ev-n="click" data-ev-c="supplemental-information-related-indicators" data-ev-l="_inner_" target=_blank href='https://nces.ed.gov/programs/coe/indicator/a02'>Incidence of Victimization at School and Away From School</a> </div> </div> <div class="d-flex mb-3"> <div class="mr-2"><img src="/programs/coe/images/related-tables-icon.svg" alt="Indicator and Resources icon" /></div> <div> <a data-ev data-ev-n="click" data-ev-c="supplemental-information-related-indicators" data-ev-l="_inner_" target=_blank href='https://nces.ed.gov/programs/coe/indicator/a03'>Prevalence of Victimization at School</a> </div> </div> <div class="d-flex mb-3"> <div class="mr-2"><img src="/programs/coe/images/related-tables-icon.svg" alt="Indicator and Resources icon" /></div> <div> <a data-ev data-ev-n="click" data-ev-c="supplemental-information-related-indicators" data-ev-l="_inner_" target=_blank href='https://nces.ed.gov/programs/coe/indicator/a13'>Students Carrying Weapons on School Property and Anywhere and Students’ Access to Firearms</a> </div> </div> <div class="d-flex mb-3"> <div class="mr-2"><img src="/programs/coe/images/related-tables-icon.svg" alt="Indicator and Resources icon" /></div> <div> <a data-ev data-ev-n="click" data-ev-c="supplemental-information-related-indicators" data-ev-l="_inner_" target=_blank href='https://nces.ed.gov/programs/coe/indicator/a06'>Violent and Other Criminal Incidents Recorded by Public Schools and Those Reported to the Police</a> </div> </div> <div class="d-flex mb-3"> <div class="mr-2"><img src="/programs/coe/images/related-tables-icon.svg" alt="Indicator and Resources icon" /></div> <div> <a data-ev data-ev-n="click" data-ev-c="supplemental-information-related-indicators" data-ev-l="_inner_" target=_blank href='https://nces.ed.gov/transfer.asp?sec=true&location=cdc.gov/healthyyouth/data/yrbs/pdf/2019/su6901-H.pdf'><i>Youth Risk Behavior Surveillance—United States, 2019</i></a> </div> </div> </div> <div class="close-panel">CLOSE</div> </div> </div> </div> <div class="accordion__wrapper"> <div class="accordion__header"> <h5 class="mb-0"> <button data-ev data-ev-n="click" data-ev-c="supplemental-information" data-ev-l="data-sources" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse-2" aria-expanded="false" aria-controls="collapse-2"> Data Sources </button> </h5> </div> <div id="collapse-2" class="collapse accordion__body" aria-labelledby="heading-2" data-parent="#accordion"> <div class="card-body"> <div><a data-ev data-ev-n="click" data-ev-c="supplemental-information-data-sources" data-ev-l="_inner_" target=_blank href='https://nces.ed.gov/transfer.asp?sec=true&location=cdc.gov/healthyyouth/data/yrbs/index.htm'>Youth Risk Behavior Surveillance System (YRBSS)</a>; <a data-ev data-ev-n="click" data-ev-c="supplemental-information-data-sources" data-ev-l="_inner_" target=_blank href='https://nces.ed.gov/transfer.asp?sec=true&location=nccd.cdc.gov/youthonline/App/Default.aspx'>YRBSS Youth Online Data Analysis Tool</a> </div> <div class="close-panel">CLOSE</div> </div> </div> </div> <div class="accordion__wrapper"> <div class="accordion__header"> <h5 class="mb-0"> <button data-ev data-ev-n="click" data-ev-c="supplemental-information" data-ev-l="reference-tables" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse-3" aria-expanded="false" aria-controls="collapse-3"> Reference Tables </button> </h5> </div> <div id="collapse-3" class="collapse accordion__body" aria-labelledby="heading-3" data-parent="#accordion"> <div class="card-body"> <div class="d-flex mb-3"> <div class="mr-2"><img src="/programs/coe/images/table-cells.svg" alt="Table icon" /></div> <div> <a data-ev data-ev-n="click" data-ev-c="supplemental-information-reference-tables" data-ev-l="_inner_" target=_blank href='https://nces.ed.gov/programs/digest/d20/tables/dt20_228.40.asp'>Table 228.40 (Digest 2020)</a>: Percentage of students in grades 9-12 who reported being threatened or injured with a weapon on school property at least one time during the previous 12 months, by selected student characteristics: Selected years, 1993 through 2019 </div> </div> <div class="close-panel">CLOSE</div> </div> </div> </div> <div class="accordion__wrapper"> <div class="accordion__header"> <h5 class="mb-0"> <button data-ev data-ev-n="click" data-ev-c="supplemental-information" data-ev-l="glossary-terms" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse-4" aria-expanded="false" aria-controls="collapse-4"> Glossary Terms </button> </h5> </div> <div id="collapse-4" class="collapse accordion__body" aria-labelledby="heading-4" data-parent="#accordion"> <div class="card-body"> <div class="chip-wrap"> <a href="/programs/coe/glossary#onschoolproperty" data-ev data-ev-n="click" data-ev-c="supplemental-information-glossary-terms" data-ev-l="On school property"> <span class="chip"> On school property </span> </a> <a href="/programs/coe/glossary#privateschool" data-ev data-ev-n="click" data-ev-c="supplemental-information-glossary-terms" data-ev-l="Private school"> <span class="chip"> Private school </span> </a> <a href="/programs/coe/glossary#publicschool" data-ev data-ev-n="click" data-ev-c="supplemental-information-glossary-terms" data-ev-l="Public school or institution"> <span class="chip"> Public school or institution </span> </a> <a href="/programs/coe/glossary#race" data-ev data-ev-n="click" data-ev-c="supplemental-information-glossary-terms" data-ev-l="Racial/ethnic group"> <span class="chip"> Racial/ethnic group </span> </a> <a href="/programs/coe/glossary#sexualidentity" data-ev data-ev-n="click" data-ev-c="supplemental-information-glossary-terms" data-ev-l="Sexual identity (Youth Risk Behavior Survey System)"> <span class="chip"> Sexual identity (Youth Risk Behavior Survey System) </span> </a> <a href="/programs/coe/glossary#weapon" data-ev data-ev-n="click" data-ev-c="supplemental-information-glossary-terms" data-ev-l="Weapon (Youth Risk Behavior Survey System)"> <span class="chip"> Weapon (Youth Risk Behavior Survey System) </span> </a> </div> <div class="close-panel">CLOSE</div> </div> </div> </div> <div class="accordion__wrapper"> <div class="accordion__header"> <h5 class="mb-0"> <button data-ev data-ev-n="click" data-ev-c="supplemental-information" data-ev-l="previous-versions" class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse-5" aria-expanded="false" aria-controls="collapse-5"> Previous Versions of This Indicator </button> </h5> </div> <div id="collapse-5" class="collapse accordion__body" aria-labelledby="heading-5" data-parent="#accordion"> <div class="card-body"> <div class="d-flex mb-3"> <div class="mr-2"><img src="/programs/coe/images/pdf-small.svg" alt="PDF icon" /></div> <div> Previous versions of this indicator available in the <i>Indicators of School Crime and Safety</i> reports. </div> </div> <div class="close-panel">CLOSE</div> </div> </div> </div> </div> </div> <div class="suggested-citation"> <a id="suggested-citation"></a> <h4>Suggested Citation</h4> <div> National Center for Education Statistics. (2022). Threats and Injuries With Weapons on School Property. <i>Condition of Education</i>. U.S. Department of Education, Institute of Education Sciences. Retrieved [date], from <a href="/programs/coe/indicator/a04/threats-injuries-with-weapon">https://nces.ed.gov/programs/coe/indicator/a04</a>. </div> </div> <div class="d-flex justify-content-between align-content-center back-to-top mt-4"> <div> <a class="toggle-menu mb-3 d-block" href="/programs/coe#indicators"><img src="/programs/coe/images/arrow-backward.svg" alt="" /> Explore another topic</a> <a class="toggle-menu" href="/programs/coe#subgroups"><img src="/programs/coe/images/arrow-backward.svg" alt="" /> Explore by subgroup</a> </div> <div> <a class="pt-3" href="#top">Back to Top <img src="/programs/coe/images/bi-caret-up-fill.svg" alt="" /></a> </div> </div> </div> </div> </div> <img src="/programs/coe/images/back-to-top.svg" class="d-none" id="back-" /> <script src="/programs/coe/js/clipboard.min.js"></script> </div> <script src="/programs/coe/lib/jquery/dist/jquery.min.js"></script> <script src="/programs/coe/lib/popper/popper.min.js"></script> <script src="/programs/coe/lib/bootstrap/dist/js/bootstrap.min.js"></script> <script src="/programs/coe/js/site.js?v=-yhGyS7FUC3Ob4cUYq4O-VCvhX5hBdGQvUwbyvy9OF0"></script> <script type="text/javascript"> document.querySelectorAll("[data-alert-dismiss]").forEach(function (element) { element.addEventListener("click", function (e) { e.target.closest(".alert").style.display = "none"; }); }); </script> <script src="https://cdn.jsdelivr.net/npm/sharer.js@latest/sharer.min.js"></script> <script src="/programs/coe/js/dom-to-image.min.js"></script> <script src="/programs/coe/js/html2canvas.1.4.1.js"></script> <script src="/programs/coe/js/download.4.2.js"></script> <script src="/programs/coe/js/html-to-image.1.11.11.js"></script> <script> /* jQuery('a[href*="#"]').click(function (e) { setTimeout(function () { window.scrollBy(0, -15); }, 200); }); */ jQuery('a[data-footnote="scroll"]').click(function (e) { setTimeout(function () { window.scrollBy(0, -80); }, 50); }); let scrollOffset = 70;//70; let selectedTaxonomyId = 0; jQuery(function ($) { var origin; $(".share-options li").hover(function () { var img = $(this).find("img"); origin = $(img).attr("src"); $(img).attr("src", $(img).attr("data-image-hover")); }, function () { var img = $(this).find("img"); $(img).attr("src", origin); }); $(".share-button-wrap").click(function () { $(this).toggleClass("show"); $(this).parent().find(".share-options").toggle(); }); //// if user dismissed interactive message, don't show it again //let cookieValue = null; //const cookie = document.cookie // .split('; ') // .find(row => row.startsWith('interactiveDismissed=')); //if(cookie) // cookieValue = cookie.split('=')[1]; //if(cookieValue !== '1') { // show interactive message for first image $('.interact-wrapper').first().removeClass('d-none'); setTimeout(function () { $('.interact-wrapper').first().addClass('d-none'); //setChartInteractiveCookie(); }, 45000); // hide interactive message when scrolling //let interactiveRemoved = false; //document.addEventListener('scroll', function(e) { // if(window.scrollY > 1500 && !interactiveRemoved) { // const firstFigure = $('.interact-wrapper').first(); // if(!firstFigure.hasClass('d-none')) { // $('.interact-wrapper').first().addClass('d-none'); // interactiveRemoved = true; // } // // setChartInteractiveCookie(); // } //}); //} // navigate to dropdown with taxonomy list $('.select-another-subgroup-link').on('click', function (ev) { ev.preventDefault(); $([document.documentElement, document.body]).animate({ scrollTop: $('#select-another-taxonomy').offset().top - scrollOffset }, 200); }); $('.next-finding-link').on('click', function (ev) { ev.preventDefault(); // curently clicked component id var componentId = ev.target.getAttribute('data-component-id'); var spans = $('span[data-taxonomy-id="' + selectedTaxonomyId + '"]'); var nextComponentId = null; var nextFigureId = null; var showFigure = null; for (var spanIndex = 0; spanIndex < spans.length; spanIndex++) { var tmpComponentId = spans[spanIndex].getAttribute('data-component-id'); if (+componentId == +tmpComponentId && spanIndex < spans.length - 1) { nextComponentId = spans[spanIndex + 1].getAttribute('data-component-id'); nextFigureId = spans[spanIndex + 1].getAttribute('data-figure-id'); showFigure = spans[spanIndex + 1].getAttribute('data-show-figure'); break; } } var elementIdToScroll = nextFigureId && showFigure == "true" ? 'figure-' + nextFigureId : 'component-' + nextComponentId; $([document.documentElement, document.body]).animate({ scrollTop: $('#' + elementIdToScroll).offset().top - scrollOffset }, 200); }); $('.prev-finding-link').on('click', function (ev) { ev.preventDefault(); // curently clicked component id var componentId = ev.target.getAttribute('data-component-id'); var spans = $('span[data-taxonomy-id="' + selectedTaxonomyId + '"]'); var prevComponentId = null; var prevFigureId = null; var showFigure = null; for (var spanIndex = 0; spanIndex < spans.length; spanIndex++) { var tmpComponentId = spans[spanIndex].getAttribute('data-component-id'); if (+componentId == +tmpComponentId && spanIndex > 0) { prevComponentId = spans[spanIndex - 1].getAttribute('data-component-id'); prevFigureId = spans[spanIndex - 1].getAttribute('data-figure-id'); showFigure = spans[spanIndex - 1].getAttribute('data-show-figure'); break; } } var elementIdToScroll = prevFigureId && showFigure == "true" ? 'figure-' + prevFigureId : 'component-' + prevComponentId; $([document.documentElement, document.body]).animate({ scrollTop: $('#' + elementIdToScroll).offset().top - scrollOffset }, 200); }); }); function setChartInteractiveCookie() { // set cookie when user dismisses interactive message let expires = new Date(); const year = expires.getFullYear(); const month = expires.getMonth(); const day = expires.getDate(); expires = new Date(year + 1, month, day); document.cookie = 'interactiveDismissed=1; expires=' + expires.toString() + '; path=/'; } function shareLinkClicked(ev) { if (ev && ev.preventDefault) ev.preventDefault(); $('.clipboard-confirmation').show(); setTimeout(function () { $('.clipboard-confirmation').hide(); }, 2500); } function downloadFigure_static(figureId, figureNumber) { var figureContainer = $('#download-container-figure-' + figureId); var isIE = false || !!document.documentMode; if (isIE) { html2canvas(figure) .then(function (canvas) { //console.log(canvas) //document.body.appendChild(canvas) var imageData = canvas.toDataURL("image/png", 1) download(imageData, "A04-figure-" + figureNumber, "image/png") }) } else { domtoimage.toPng(figureContainer[0]) .then(function (dataUrl) { figureNumber = figureNumber.replace('.', '-'); download(dataUrl, "A04-figure-" + figureNumber, "image/png") }).catch(function (error) { console.log(error) }) } } function downloadFigure(figureId, figureNumber) { //console.log('figureId=', figureId, ' figureNumber=', figureNumber) const chartContainer = $('#download-container-figure-' + figureId); // hide interactive prompt chartContainer.find('.interact-wrapper').addClass('d-none'); // hide all checkboxes chartContainer.find('label.blue-cb').addClass('downloading'); var figureContainer = $('#download-container-figure-' + figureId); var isIE = false || !!document.documentMode; $('#download-container-figure-' + figureId).find('.tools').css('display', 'none'); const switchViewModileDisplay = $('#download-container-figure-' + figureId).find('.switch-view-mobile').css('display'); $('#download-container-figure-' + figureId).find('.switch-view-mobile').css('display', 'none'); // Close "Modify figure" container if it is opened const optionsContainer = $('#download-container-figure-' + figureId).find('.options-container'); let wasOpened = optionsContainer.hasClass('active'); if (wasOpened) { $('#download-container-figure-' + figureId).find('.options-container').find('.options-container-footer').find('a')[0].click(); } // restore UI after image is downloaded const restoreUI = (chartContainer, figureId) => { $('#download-container-figure-' + figureId).find('.tools').css('display', 'flex'); $('#download-container-figure-' + figureId).find('.switch-view-mobile').css('display', switchViewModileDisplay); if (wasOpened) { $('#download-container-figure-' + figureId).find('.modify')[0].click(); } chartContainer.find('label.blue-cb').removeClass('downloading'); } htmlToImage.toPng(figureContainer[0], { skipFonts: true }) .then(function (dataUrl) { download(dataUrl, "A04-figure-" + figureNumber); restoreUI(chartContainer, figureId); }) .catch(function (error) { console.error('oops, something went wrong!', error); html2canvas(figureContainer[0], { scrollX: 0, scrollY: -window.scrollY }) .then((canvas) => { var a = document.createElement('a'); a.href = canvas.toDataURL("image/jpeg").replace("image/jpeg", "image/octet-stream"); a.download = "A04-figure-" + figureNumber + '.jpg'; a.click(); }); restoreUI(chartContainer, figureId); }); // const useHtml2Canvas = node => { // html2canvas(node) // .then(function (canvas) { // var imageData = canvas.toDataURL("image/png", 1) // download(imageData, "A04-figure-" + figureNumber, "image/png"); // restoreUI(chartContainer, figureId); // }) // .catch(function (error) { restoreUI(chartContainer, figureId); }); // } // if (isIE) { // useHtml2Canvas(figureContainer[0]); // } else { // try { // useHtml2Canvas(figureContainer[0]); // } // catch (error) { // domtoimage.toPng(figureContainer[0]) // .then(function (dataUrl) { // figureNumber = figureNumber.replace('.', '-'); // download(dataUrl, "A04-figure-" + figureNumber, "image/png"); // restoreUI(chartContainer, figureId); // }).catch(function (error) { // console.error(error); // }); // } // //domtoimage.toPng(figureContainer[0]) // // .then(function (dataUrl) { // // figureNumber = figureNumber.replace('.', '-'); // // download(dataUrl, "A04-figure-" + figureNumber, "image/png"); // // restoreUI(chartContainer, figureId); // // }).catch(function (error) { // // console.error(error); // // // if domtoimage failed, use html2canvas // // useHtml2Canvas(figureContainer[0]); // // }); // } } // show components that belong to default selected taxonomy item $(document).ready(function () { showAllComponents(); }); function selectTaxonomyItem(ev, taxonomyItemId, taxonomyItemTitle) { selectedTaxonomyId = taxonomyItemId; ev.preventDefault(); //$('#btn-show-all-findings').removeClass('button--disabled'); $('.component-paragraph').removeClass('highlight'); $('.chart').removeClass('highlight'); $('#back-to-top').remove(); if (taxonomyItemId == -1) { $('#all-available-findings').addClass('d-none'); $('#select-taxonomy-item-title').text('All available findings'); $('.select-another-subgroup-link').addClass('d-none'); $('.next-finding-link').addClass('d-none'); $('.prev-finding-link').addClass('d-none'); return; } $('#all-available-findings').removeClass('d-none'); //$('.chart').hide(); $('#select-taxonomy-item-title').text(taxonomyItemTitle); var spans = $('span[data-taxonomy-id="' + taxonomyItemId + '"]'); // hide all navigation links $('.select-another-subgroup-link').addClass('d-none'); $('.next-finding-link').addClass('d-none'); $('.prev-finding-link').addClass('d-none'); var elementIdToScroll = null; for (var spanIndex = 0; spanIndex < spans.length; spanIndex++) { var componentId = spans[spanIndex].getAttribute('data-component-id'); var figureNumber = spans[spanIndex].getAttribute('data-figure-number'); var figureId = spans[spanIndex].getAttribute('data-figure-id'); var showFigure = spans[spanIndex].getAttribute('data-show-figure'); // highlight paragraphs and figures $('#component-' + componentId).addClass('highlight'); if (figureId) $('#figure-' + figureId).addClass('highlight'); // get first element that we need to scroll to if (spanIndex == 0) elementIdToScroll = figureId ? 'figure-' + figureId : 'component-' + componentId // hide/show navigation links if (spanIndex == spans.length - 1) $('#component-' + componentId).find('.select-another-subgroup-link').removeClass('d-none'); if (spanIndex > 0) $('#component-' + componentId).find('.prev-finding-link').removeClass('d-none'); if (spanIndex < spans.length - 1) $('#component-' + componentId).find('.next-finding-link').removeClass('d-none'); } // scroll to first element $([document.documentElement, document.body]).animate({ scrollTop: $('#' + elementIdToScroll).offset().top - scrollOffset }, 200); // now add "Back to top" link //var lastHighlightedParagraph = $('.component-paragraph.highlight').last(); //lastHighlightedParagraph.after("<div id='back-to-top' class='text-right mt-2 mb-4'><a href='#tag-dropdown'>Back to Top <img src='" + '/programs/coe/images/back-to-top.svg' + "' /></a></div>"); } function showAllComponents(ev) { $('.component-paragraph').show(); $('.chart').show(); $('#select-taxonomy-item-title').text('All available findings'); //$('#btn-show-all-findings').addClass('button--disabled'); } function loadChart(code, figureNumber, figureId, chartId) { fetch(`/programs/coe/indicator/GetChart?code=${code}&figureNumber=${figureNumber}&chartId=${chartId}&figureId=${figureId}`) .then(function (response) { // The API call was successful! return response.text(); }) .then(function (data) { // This is the JSON from our response $('#figure-' + figureId).replaceWith(data); // after we insert HTML into DOM, add some event listeners $('#figure-' + figureId).find(".share-button-wrap").click(function () { $(this).toggleClass("show"); $(this).parent().find(".share-options").toggle(); }); }) .catch(function (err) { // There was an error console.warn('Something went wrong.', err); }); } jQuery(function ($) { // footnote scroll fix $('a').click(function (ev) { const target = ev.target; const name = target.getAttribute('name'); const href = target.getAttribute('href') || ''; if(href.startsWith('#fn') || href.startsWith('#fr')) { setTimeout(function () { window.scrollBy(0, -50); }, 100); } }); }); </script> <!-- FOOTER STARTS HERE--> <!-- opening footer div --> <div> <!-- End Body --> </div> <ies-footer></ies-footer> <!-- FOOTER ENDS HERE--> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10