Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity 6 question1(part1)

Public visualization

Viewing a saved revision (read-only)

52e7f849c95240788cb4001d010bbfbe

Fork of Activity 6 question1(part1)

0 stars1🌍 Public
BBhavana Sharma
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Activity 6 task 1

This bar chart visualizes the population of ten countries for the year 2000, sourced from a CSV file. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` for axes, while `format` converts tick labels to abbreviated numbers. Each bar includes a SVG `<title>` tooltip, and the visualization is rendered as an SVG. Horizontal bars are sorted by country, showing population with a green fill.

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.