Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 1

Public visualization

activity 6_Task 1

0 stars0🌍 Public
Ppadiginetivishnupriya@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from activity 6_Task 1

This bar chart displays the population of ten countries in the year 2000, using horizontal bars sorted along a categorical y-axis and a linear x-axis. The visualization loads CSV data from a GitHub repository, processes it with the `csv` function from `d3`, and renders the chart as SVG within a React component. Axes are built with `scaleBand` and `scaleLinear`, while tick formatting uses the `format` function to abbreviate large numbers.

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