Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BURRO VELHO

Public visualization

BURRO VELHO

1 star1🌍 Public
DDaniel Marx
Last edited Jan 29, 2020
Created on Jan 29, 2020
Forked from Botafogo

This visualization uses a Voronoi treemap to depict grouped data, with each colored region representing a category and its sub-regions sized by a weight value. The layout is computed with the `d3.voronoiTreemap` plugin, which relies on `d3.hierarchy` and a clipped polygon to generate the cell shapes. Regions are rendered as SVG paths with labels, and a legend maps the top-level colors to their names. The page also includes a button that exports the current SVG visualization to a PNG file using the Canvas API and FileSaver.js.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed