🌍 Public
Viewing a saved revision (read-only)
dd8e375c6c8647b19b27878b76f360c7
Massachussetts Top 10 Crime city with margin and axis
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.