Viewing a saved revision (read-only)
04c2e1eb825149938cf96a8363bdaae4
Fork of Fork of Fork of Fork of Fork of Fork of Fork of Final Project
This visualization displays the changing frequencies of various crime categories in New York City from 2012 to 2021. A radio button triggers an animated bar chart that reveals the pattern of SO2-related offenses, with each of the 31 offense types represented by colored bars across the ten-year timeline. The implementation uses D3.js version 6 to render the SVG animation, leveraging the `d3.select` and `d3.format` APIs to manage the graphical output. The data is hardcoded as a two-dimensional array within the script, and the visualization updates by removing and redrawing all group elements when activated.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.