Skip to main content
100%

Fork of Activity6_Q1.1

✓ Published1🌍 Public
Ppradeepgubbala2001@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Activity6_Q1.2

This example displays a horizontal bar chart ranking the populations of ten countries for the year 2000, using D3 version 5 scales and SVG rendering within a React component. The code imports `scaleBand` and `scaleLinear` to map country names and population values to screen coordinates, with `format` applying a compact tick label format. Data is pulled from a remote CSV file via `d3.csv`, and the chart is rendered with custom React modules for axes and marks.

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