Skip to main content
100%

Activity6_Question1.1

✓ Published0🌍 Public
Ggnanendra097@gmail.com
Last edited Apr 5, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This example shows total population by country for the year 2000 as a horizontal bar chart, with country names along the vertical axis and population amounts along the horizontal axis. The bars are colored green, and hovering reveals a native tooltip with the formatted population value. Data comes from a CSV file loaded asynchronously via d3.csv, which then selects the top ten countries. The visualization uses React components to render SVG elements, with d3.scaleBand and d3.scaleLinear for the axes, and d3.format for abbreviating tick labels with "B" for billions.

AI-generated description

Population dataset, horizontal bar graph representation for Activity 6

MIT Licensed

Similar vizzes