Skip to main content
100%

Untitled

✓ Published0🌍 Public
Ssri7harsha
Last edited Mar 28, 2022
Created on Mar 27, 2022
Forked from Untitled

This example presents a pie chart of company values, with each slice labeled by company name and value. The chart uses D3 version 3 to load CSV data and generate the pie layout, with an ordinal color scale assigning distinct colors to each company. A custom legend, built using a reusable `d3.legend` function, displays each slice’s label and color in a boxed list beside the chart. The visualization is rendered as SVG, with text labels placed at each arc’s centroid.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes