Skip to main content
100%

Massachussetts Top 10 Crime city with margin and axis

✓ Published2🌍 Public
Wwenleicao
Last edited Sep 24, 2019
Created on Sep 22, 2019

This visualization displays the top 10 Massachusetts cities by crime rate using a vertical bar chart with axes. The bars show each city’s crime ratio from a 2016 dataset, ordered by descending value. Built with React and D3 v5, the code uses `scaleBand` for the x-axis, `scaleLinear` for the y-axis, and `csv` to load data from a GitHub gist. SVG rendering draws gridlines, tick labels, and rectangles, with margins separating the axes from the plot area.

AI-generated description

A program that shows the top 10 most crime city in massachusetts as a pathetic column chart with no axes.

Data: Masschusetts Crime dataset for 2016.

MIT Licensed

Similar vizzes