Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

New Bar Chart D3

Public visualization

Viewing a saved revision (read-only)

0af10d88216f423592e6730aa01a73e4

New Bar Chart D3

0 stars0🌍 Public
AAllen Ho
Last edited Feb 19, 2024
Created on Feb 19, 2024
Forked from HTML Starter

This bar chart displays the wealth of billionaires, grouped by company name, with bar heights and colors scaled to each billionaire’s net worth in billions of dollars. Built with D3 v6 and React, the visualization loads CSV data from a GitHub gist, uses `d3.scaleBand` and `d3.scaleLinear` for axes, and renders bars as SVG rectangles with hover effects via CSS. Axes are drawn using `d3.axisBottom` and `d3.axisLeft`, and each bar includes a tooltip title showing its value.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.