Skip to main content
100%

Fork of ACT 6 Q1.1

✓ Published0🌍 Public
Ppavithranamburi24@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from ACT 6 Q1

This interactive bar chart displays the population figures for 20 countries in 2010, using a horizontal layout with country names on the y-axis and population values on the x-axis. Built with React and D3 v5, the visualization loads data from a remote CSV file using `d3.csv` and renders SVG rectangles. The code leverages `scaleBand` for the categorical y-axis and `scaleLinear` for the numerical x-axis, with formatted tick labels using `d3.format`.

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