Skip to main content
100%

Activity-6_Question-1

✓ Published0🌍 Public
VVasanth Krishna
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This bar chart visualizes the population of ten countries in the year 2000 using React and SVG rendering. It leverages d3 v5 functions such as `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `format` to convert tick labels into billions. A CSV file is loaded remotely via d3’s `csv` method, with each bar’s tooltip revealing the formatted population value. The chart includes styled axes and labels for both the population and country name.

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