Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6_Question-1.1

Public visualization

Viewing a saved revision (read-only)

1e1d5cc5fc5447da909a6e7d750069ce

Activity-6_Question-1.1

0 stars0🌍 Public
Rreachtoshasidhar07@gmail.com
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Hello VizHub

This example shows a horizontal bar chart of the population of the first ten countries in the year 2000, using data from a CSV file loaded with `d3.csv`. The chart uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the continuous population x-axis, rendering blue rectangles as bars via SVG. React and `d3` APIs manage the component state and data fetching, while tick labels are formatted with `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.