Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6 Task1

Public visualization

Viewing a saved revision (read-only)

a11112d07bba463cbb0da1303a6282ee

Activity-6 Task1

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

This bar chart displays the population of 30 countries in 2020, using a horizontal layout with countries listed on the y-axis and population values extending to the right. Built with React and D3 v5, it renders SVG rectangles via the `Marks` component, while `AxisBottom` and `AxisLeft` generate the axes. Population values are loaded from a remote CSV and formatted with `d3.format`; hovering reveals a tooltip with the formatted value.

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.