Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6 Task 1 Question 1

Public visualization

Viewing a saved revision (read-only)

c3874d1895244a1d94396b1178744e29

activity 6 Task 1 Question 1

0 stars0🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

This visualization is a horizontal bar chart displaying the population of the top 10 countries in the year 2000, sorted from largest to smallest. The chart uses a linear x-scale for population values and a band scale for country categories. Built with React and D3 v5, it renders bars as SVG rectangles, with axes and tick marks generated by custom components. Data is loaded from a CSV file and formatted using D3's `format` function to display values in billions.

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.