Public
Edited
Jan 16, 2023
Insert cell
Insert cell
// chart = PieChart(population, {
chart = PieChart(ownership, {
name: d => d.name,
value: d => d.value,
width,
height: 500
})
Insert cell
ownership = [
{name:'Christine Cadet Massey',value:
10.05},
{name:'Tabron Edward Massey',value:
10.05},
{name:'Mike Xu',value:
10.05},
{name:'Deevena Nikerle',value:
8.38},
{name:'Ledum Nordee',value:
8.38},
{name:'Kaosoluchi Enendu',value:
5.03},
{name:'Floyd Jones',value:
5.03},
{name:'Wayne Jones',value:
5.03},
{name:'Keegan Wilborne',value:
5.03},
{name:'Akalutu Holdings',value:
33}]


Insert cell
Insert cell
population = FileAttachment("population-by-age.csv").csv({typed: true})
Insert cell
Insert cell
Insert cell
import {howto} from "@d3/example-components"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more