Skip to main content
100%

Fork of Fork of Task8_Tutorial1_Question1.2HKK

✓ Published0🌍 Public
Hhemanthkakani1999@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example shows a horizontal bar chart comparing the 2010 population of 20 countries, with D3's scaleBand and scaleLinear mapping country names and population values to the SVG canvas. The React app loads CSV data via d3.csv, renders axes through custom AxisBottom and AxisLeft components, and displays values using si-format tick labels that convert gigabytes to billions. Blue rectangles represent each country's population, with tooltips showing formatted values on hover.

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