Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Ttracy3057
Last edited Dec 8, 2020
Created on Dec 5, 2020
Forked from Customizing Axes

This interactive bar chart displays the number of employed people in New York City across 25 occupations, with buttons to switch between years from 2010 to 2019. The visualization uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis, with `d3.axisBottom` and `d3.axisLeft` for custom ticks and gridlines. Data comes from local CSV files, and user clicks trigger redrawing of rectangles with updated scales. The SVG rendering includes custom tick formatting with `d3.format` to abbreviate large numbers.

AI-generated description
MIT Licensed

Similar vizzes