Skip to main content
100%

Fork of May 3

✓ Published0🌍 Public
Mmauricio-acosta-reyes
Last edited May 3, 2021
Created on May 3, 2021
Forked from Untitled

This example shows a donut chart displaying population data for different age groups, with each segment labeled by its corresponding age. The visualization uses D3.js v4 with the `d3.arc`, `d3.pie`, and `d3.requestTsv` APIs to load and process the TSV data. It renders the chart on an HTML5 Canvas element, drawing each arc segment in a distinct color and placing text labels at the centroid of each arc using the Canvas `fillText` method. The chart is centered within a 960×500 canvas.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes