Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question-2

Public visualization

Viewing a saved revision (read-only)

04100fbe23324ab2af85715e2759c700

Activity 6_Question-2

0 stars0🌍 Public
Rrajkodavati7@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This bar chart displays the populations of twenty countries in 2010, using a horizontal layout with country names on the y-axis and population values on the x-axis. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical axis and `scaleLinear` for the numeric scale. Rectangles render the bars, with `format` for tick labels that abbreviate large numbers. Data loads from a CSV file via `csv`, and tooltips appear through SVG `<title>` elements.

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.