Skip to main content
100%

activity6_q1.1

✓ Published0🌍 Public
RRJVENKATESH789@GMAIL.COM
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart showing the population of various countries for the year 2000, with bars sorted by country name and green-filled rectangles representing population values. The chart uses D3 v5’s `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and custom `AxisBottom` and `AxisLeft` components for tick labels. Data is loaded from a remote CSV file via `d3.csv`, formatted with `d3.format`, and rendered as SVG in a React app.

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