Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bar chart laboratorio 4

Public visualization

Viewing a saved revision (read-only)

e7e338e1ebdb42d6a6352525dcd5f150

bar chart laboratorio 4

0 stars1🌍 Public
Llimeroc
Last edited May 18, 2021
Created on May 18, 2021
Forked from Stylized bar chart

This horizontal bar chart displays the populations of ten countries from the UN Population 2019 dataset. The bars are rendered as SVG rectangles, with population values mapped to bar length and country names on the y-axis. The code uses D3 v6 and React, employing `scaleBand` and `scaleLinear` for scales, and a custom `Marks` component to generate the rectangles. A mouseover tooltip reveals the exact population value, formatted using D3's `format` function with a `.2s` suffix.

AI-generated description

A bare minimum HTML page.