Massachussetts Top 10 Crime city with margin and axis
✓ Published2🌍 Public
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 descriptionA program that shows the top 10 most crime city in massachusetts as a pathetic column chart with no axes.
MIT Licensed