Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Testes D3

Public visualization

Viewing a saved revision (read-only)

3553a16b120f45c78000c9b4077c5529

Testes D3

0 stars1🌍 Public
Ggcostaflex
Last edited Nov 3, 2020
Created on Nov 3, 2020
Forked from HTML Starter

This example uses D3 v6 within a React project to render a simple bar chart of population data from a CSV file. It loads data.csv with `d3.csv`, converts population values to numbers, and draws SVG rectangles using `scaleLinear` and `max` to map population counts to bar widths. The bars are appended to an SVG element, with fixed heights of 300 pixels, and the chart is rendered without axes or labels, showing only the proportional widths of the five countries.

AI-generated description

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

See also React Starter.