Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
AAnanya157
Last edited Aug 28, 2020
Created on Aug 11, 2020
Forked from HTML Starter

This bar chart displays the top 10 most populous countries, with each country’s population represented by a horizontal bar. The visualization includes a zoom feature for exploring the data and interactive tooltips that show exact population values on hover. Built with React and D3 v5, it uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the SVG chart. The code employs `d3.zoom` for panning and zooming, and `transition.attr` for smooth opacity changes during mouse interactions, with data loaded from a CSV file.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes