Skip to main content
100%

Number of Employed of Different Occupations in New York City

✓ Published0🌍 Public
Ttracy3057
Last edited Dec 4, 2020
Created on Dec 3, 2020
Forked from Hello VizHub

This animated bar chart shows how employment levels across 25 occupations in New York City change over time, with bars ranking occupations by workforce size and shifting positions as values fluctuate. The visualization uses D3 v6 with SVG rendering, loading data from a CSV file via `d3.csv` and interpolating between yearly data points using `d3.rollup` and `d3.pairs`. Bars transition smoothly using `transition.attrTween` to update their y-position (rank) and width (employment count), while labels and a ticker display the current year.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes