Skip to main content
100%

Crime by Race Dataset

✓ Published0🌍 Public
CCurran Kelleher
Last edited Dec 15, 2015
Created on Dec 14, 2015

This example displays the raw contents of a crime dataset as a formatted JSON object on the page. The data, sourced from the FBI’s 2014 Crime in the United States table, is loaded from a CSV file using D3.js and parsed with the `dsvDataset.parse` API. The code then renders the parsed data into a `<pre>` element via D3’s selection and text methods. It shows the dataset’s structure—listing offenses and counts by racial category—without any additional charting or interaction.

AI-generated description

This is a dataset on crime in 2014, subdivided by race and offense. Originally found in table 43 in the FBI Web Site "2014 Crime in the United States".

This example page provides the basic code required to load the data and display it on the page (as JSON) using D3.js.

Also, here's a normalized version of this data, with "Race" represented as a single column.

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/430efaf8f592d018bd3e'>Mother Jones Gun Violence Dataset</a>

<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=1989967&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->

Similar vizzes