Skip to main content
100%

Fork of Fork of Fork of Fork of Fork of Fork of Fork of Final Project

✓ Published1🌍 Public
YYi Yang
Last edited Dec 12, 2021
Created on Dec 12, 2021

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes