Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars

Public visualization

Viewing a saved revision (read-only)

6deab5c6f36f45c28e0fda5540f44269

Cars

0 stars0🌍 Public
HHemanthh81
Last edited Jul 21, 2023
Created on Jul 21, 2023
Forked from Assignment1_Ques1

This bar chart displays the population of 20 countries for 2020, with each country represented by a horizontal bar colored light green. The visualization uses React to render SVG elements, with D3 scales and axes handling the layout. Data is loaded asynchronously via `d3.csv` from a GitHub gist, then transformed by multiplying the 2010 column by 1000. Axis components and formatted tick labels (using `d3.format`) clarify value interpretation, while hover tooltips via SVG `<title>` elements provide additional detail.

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.