Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML scalelinear

Public visualization

Viewing a saved revision (read-only)

4c570b0583a14ae6b3527c8a00771227

HTML scalelinear

0 stars0🌍 Public
Wwachji2001
Last edited Sep 16, 2020
Created on Sep 15, 2020
Forked from HTML Starter

This example demonstrates a data visualization of country populations using a simple HTML5 SVG canvas. The code loads population data from a CSV file and uses D3's `csv` function to parse it. The visualization applies D3's `scaleLinear` to map population values, drawing a single purple rectangle as the primary graphic element. The implementation utilizes the D3 v6 library within a React framework, rendering the output as scalable vector graphics with a minimalist design approach—the page centers only one colored rectangle without additional axes, labels, or complex chart structures.

AI-generated description

A bare minimum HTML page.

See also React Starter.