Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 6_Task 1

Public visualization

Fork of Activity 6_Task 1

0 stars1🌍 Public
Hhemanthdummy999@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Activity 6_Task 1

This interactive bar chart displays the population of the top 10 countries in the year 2000, with each country represented by a horizontal bar. The visualization uses a React framework with D3 v5 to render SVG elements. The code employs `scaleBand` for the y-axis and `scaleLinear` for the x-axis, while the CSV data is loaded asynchronously via `csv`. The chart features customizable axis components, a green color fill for bars, and tooltips showing population values formatted in SI notation.

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.

Comments

Sign in to join the discussion.

MIT Licensed