The Laws Visualized
Created by Lorin Bruckner
Data Visualization Dashboard
The North Carolina Jim Crow Laws dashboard displays the number of laws on a county map, line chart and bar chart. Users can filter the laws by year, topic and county and click on individual laws to read the full text.
How to Use the Dashboard
To filter laws by year, make a selection from the dropdown menu at the top of the dashboard or click a point on the line chart.
To filter laws by topic, make a selection from the dropdown menu at the top of the dashboard, or click on a bar in the bar chart.
To filter laws by county, make a selection from the dropdown menu at the top of the dashboard or click on a county in the map.
A preview of each law is shown in a grey box on the right side of the dashboard. Click on the magnifying glass icon to read the full text of the law.
Rolling over any of the charts displays a pop-up box with more information.
How Laws Were Categorized by Topic
Topics were identified through a Python script that uses regular expressions to search each law for specific keywords. The keywords were chosen by examining the results of multiple topic models and picking terms that were given the highest weights or scores by the models. It should be noted that a single law could be categorized under multiple topics depending on the keywords it contained.
This process allowed for closer control of topic classification and prevented a high number of false positives. However, any law that did not contain one of the selected keywords was not assigned a topic, and therefore, many laws remain unclassified.
How Laws Were Located on the Map
A Python script using regular expressions found laws that mentioned names of towns and/or counties. Laws that could not be assigned to a particular location as well as laws that involved multiple locations are not displayed on the map, but they are included in the line and bar charts. Selecting “Unknown/Multiple” from the “County” dropdown menu will filter the dashboard to display only those laws.
Law locations were assigned through an automated process. Please let us know if you notice any errors.
Dashboard Tables for Accessibility
Number of North Carolina Jim Crow Laws by Topic
Please note that a law can be categorized under more than one topic.
|Topic||Number of Laws|
|Adoption & Orphanages||26|
|Death & Deathcare||39|
|Health, Disabilities & Mental Care||111|
Number of North Carolina Jim Crow Laws by Year
|Year||Number of Laws|
|1921 extra session||5|
Number of North Carolina Jim Crow Laws by County
|County Name||Number of Laws|
The University of North Carolina at Chapel Hill believes everyone in our community deserves equal access to information. We are committed to creating an inclusive digital experience. If you are unable to access this information, please send us an accessibility remediation request.