Skip to main content
100%

Activity 7

✓ Published0🌍 Public
Ssrikkanth05
Last edited Jun 28, 2023
Created on Jun 28, 2023
Forked from Hello VizHub

This bar chart, created with React and D3 v5, visualizes the populations of ten countries in 2010, using a horizontal layout where each bar’s length corresponds to the population value. The visualization loads data from a remote CSV file via `d3.csv`, scales the values with `d3.scaleLinear` and `d3.scaleBand`, and renders axes and bars as SVG elements. The `AxisBottom`, `AxisLeft`, and `Marks` components format ticks with `d3.format`, display population labels, and include tooltips that show the formatted population value.

AI-generated description
MIT Licensed

Similar vizzes