Skip to main content
100%

Independently Animated and Stylized Bar Chart

✓ Published0🌍 Public
PPeter Maida
Last edited Oct 1, 2020
Created on Oct 1, 2020

This interactive bar chart displays the top 10 most populous countries using United Nations World Population Prospects 2019 data. As the user moves the mouse across the visualization, three bars independently animate with random fluctuations in width, creating a stylized, kinetic effect. Built with React and D3 v5, the chart uses `scaleBand` and `scaleLinear` for axes and renders SVG rectangles whose widths are modified by randomized values on each mouse movement. The axis labels are formatted using D3's `format` function to display population values in billions.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart. This bar chart adds a bit of noise as you scroll your mouse across it.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes