Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question1-2

Public visualization

Viewing a saved revision (read-only)

de4c44b4a26a4f0784957948e27b6a8f

Activity 6_Question1-2

0 stars0🌍 Public
Ssowmyaammula.sdv@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This bar chart visualizes the population of 20 countries in 2010, sorted by country name. Each bar’s length corresponds to population, with hover tooltips showing formatted values in billions. The visualization is built with React and D3 v5, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and custom `AxisBottom`, `AxisLeft`, and `Marks` components to render SVG rectangles and tick marks. Data is loaded from a CSV file via `d3.csv`.

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.