Skip to main content
100%

Activity6_Question1

✓ Published2🌍 Public
CChandra Prakash Reddy Kalwakolu
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This bar chart visualizes the population of ten countries in the year 2000, ordered along a categorical y-axis. The visualization uses React and D3 v5 to render an SVG, with `d3.scaleBand` and `d3.scaleLinear` mapping country names to horizontal bar lengths. Data is loaded from a remote CSV file via `d3.csv`, with population values converted from thousands. Axis ticks and bar tooltips are formatted using `d3.format`, and the chart includes styled axis lines and labels.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes