Skip to main content
100%

Fork of Activity - 6_Question - 1.1

✓ Published3🌍 Public
Pphanisrivinnakota@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024

This example displays a horizontal bar chart of population figures for ten countries in 2010. It uses React and D3 v5 to render SVG elements, with axes and marks built from modular components. The `scaleBand` and `scaleLinear` functions position the bars, while `d3.csv` loads data from a remote GitHub CSV file. Tooltips show formatted population values using D3’s `format` function.

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