Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task1 Question1.1

Public visualization

Activity 6_Task1 Question1.1

0 stars1🌍 Public
Vvemulasai306@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from activity 6_Task 1

This visualization displays a horizontal bar chart comparing the populations of ten countries in the year 2000, with each bar labeled by country name on the y-axis and population values formatted in billions along the x-axis. The chart uses a green fill for the bars and includes axis labels for "COUNTRY NAME" and "POPULATION-2000". Built with React and D3 v5, the code leverages `scaleBand` and `scaleLinear` for scaling, custom SVG components for axes and marks, and loads data from a CSV file via D3's `csv` function.

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