Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6 Q_1.2

Public visualization

Fork of Activity6 Q_1.2

0 stars0🌍 Public
Bbhavya.kanyadara@gmail.com
Last edited Apr 3, 2025
Created on Apr 3, 2025
Forked from Activity6 Q_1.2

This bar chart displays the population of up to twenty countries for 2010. The React application uses d3’s `scaleBand` and `scaleLinear` to map country names and population values to screen positions. SVG rectangles, defined in the `Marks` component, render each bar, with hovering revealing a tooltip formatted by d3’s `format` function. The chart’s axes are drawn from the custom `AxisBottom` and `AxisLeft` components, while data is loaded asynchronously from a CSV file using d3’s `csv` method.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed