Skip to main content
100%

D3 Starter Updating bar chart

✓ Published1🌍 Public
Mmaxthamt
Last edited Apr 7, 2021
Created on Apr 7, 2021
Forked from D3 Starter

A D3 bar chart displays the top 15 movies from 2000-2009, with bars showing revenue, budget, or popularity; interactive buttons trigger an animated update that re-sorts and re-scales the data. The chart uses D3's modular API, including `scaleLinear`, `scaleBand`, `axisTop`, `axisLeft`, and the `transition` helper for smooth animations. SVG elements render the bars and axes, with a header updating to reflect the selected metric.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes