Skip to main content
100%

Fork of Activity 6_Question1_task1

✓ Published1🌍 Public
Jjampani921@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity 6_task 1

This interactive bar chart displays the 2000 population figures for ten countries, using a horizontal layout with blue tick lines and green bars. Built with React and D3 v5, it loads CSV data from a GitHub repository and renders the chart as SVG. The visualization uses `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with custom `AxisBottom`, `AxisLeft`, and `Marks` components handling the drawing. Native SVG `<title>` elements provide tooltips, while tick formatting converts raw numbers into abbreviated units like "B" for billions.

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