Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Task 8_Task 1.2

Public visualization

Viewing a saved revision (read-only)

16d1b8a937fb4e01ae33dc86cb24bdf8

Fork of Fork of Task 8_Task 1.2

0 stars0🌍 Public
Jjaswanthichowdarykalapala@my.unt.edu
Last edited Apr 9, 2024
Created on Apr 9, 2024

This bar chart displays the population of 20 countries in 2010, sourced from a CSV loaded via the `d3.csv` API. The React application uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis. Horizontal bar marks are rendered as SVG `<rect>` elements, with `d3.format` applied to axis tick labels, showing values in billions. The code demonstrates local ES6 module imports and component composition.

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.