Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity_6 Task1

Public visualization

Viewing a saved revision (read-only)

dfee981fdc8740418db24ece43195088

Fork of Activity_6 Task1

0 stars0🌍 Public
Ppslharika@gmail.com
Last edited Apr 4, 2024
Created on Apr 3, 2024
Forked from Activity_6 Task1

This example displays a horizontal bar chart of population data for the year 2000, showing the top ten entries from a CSV dataset. The React-based visualization uses D3 v5 scale functions, with `csv` for data loading and custom `AxisLeft` and `AxisBottom` components for rendering ticks. Bars are drawn as `rect` elements sized by the x-scale, and tooltips reveal formatted values via SVG `<title>` elements. The code imports data from a GitHub-hosted CSV and applies a styling with pastel green fills and blue grid lines.

AI-generated description

A demonstration of how to start using D3 version 6.