Skip to main content
100%

Activity 6 Q1.2

✓ Published0🌍 Public
Ssharanyabobbala@my.unt.edu
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Activity 6 Q1.1

This example displays a horizontal bar chart comparing the populations of 20 countries in 2010, with the countries sorted along the y-axis and population values along the x-axis. The visualization uses React to render SVG elements, with D3 v5’s `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `format` to abbreviate tick labels (e.g., converting billions to “B”). Data is loaded as CSV via D3’s `csv` function from a remote gist.

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.
MIT Licensed

Similar vizzes