Public
Edited
Feb 2, 2023
Insert cell
Insert cell
Insert cell
Insert cell
import {DonutChart} from "b65a4f6c4f6ebcfc"
Insert cell
landuse_projection4521best = d3.csv("https://gist.githubusercontent.com/thiggimajig/48f38cde98b5b893dea4d81fd2215945/raw/c407cfe061cebffe8d3c49aea640faa941a9ff22/df_projection4521best_km2.csv")
Insert cell
landuse_projection4521best
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
chart_projection4521best = DonutChart(landuse_projection4521best, {
name: d => d.landuse_type,
value: d => d.area_km2,
width,
height: 500
})
Insert cell
Insert cell
landuse_projection4521mid = d3.csv("https://gist.githubusercontent.com/thiggimajig/48f38cde98b5b893dea4d81fd2215945/raw/c407cfe061cebffe8d3c49aea640faa941a9ff22/df_projection4521mid_km2.csv")
Insert cell
landuse_projection4521mid
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
chart_projection4521mid = DonutChart(landuse_projection4521mid, {
name: d => d.landuse_type,
value: d => d.area_km2,
width,
height: 500
})
Insert cell
Insert cell
landuse_projection4550best = d3.csv("https://gist.githubusercontent.com/thiggimajig/48f38cde98b5b893dea4d81fd2215945/raw/c407cfe061cebffe8d3c49aea640faa941a9ff22/df_projection4550best_km2.csv")
Insert cell
landuse_projection4550best
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
chart_projection4550best = DonutChart(landuse_projection4550best, {
name: d => d.landuse_type,
value: d => d.area_km2,
width,
height: 500
})
Insert cell
Insert cell
landuse_projection4550mid = d3.csv("https://gist.githubusercontent.com/thiggimajig/48f38cde98b5b893dea4d81fd2215945/raw/c407cfe061cebffe8d3c49aea640faa941a9ff22/df_projection4550mid_km2.csv")
Insert cell
landuse_projection4550mid
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
chart_projection4550mid = DonutChart(landuse_projection4550mid, {
name: d => d.landuse_type,
value: d => d.area_km2,
width,
height: 500
})
Insert cell
Insert cell
landuse_projection8521mid = d3.csv("https://gist.githubusercontent.com/thiggimajig/48f38cde98b5b893dea4d81fd2215945/raw/c407cfe061cebffe8d3c49aea640faa941a9ff22/df_projection8521mid_km2.csv")
Insert cell
landuse_projection8521mid
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
chart_projection8521mid = DonutChart(landuse_projection8521mid, {
name: d => d.landuse_type,
value: d => d.area_km2,
width,
height: 500
})
Insert cell
Insert cell
landuse_projection8521wor = d3.csv("https://gist.githubusercontent.com/thiggimajig/48f38cde98b5b893dea4d81fd2215945/raw/c407cfe061cebffe8d3c49aea640faa941a9ff22/df_projection8521worst_km2.csv")
Insert cell
landuse_projection8521wor
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
chart_projection8521wor = DonutChart(landuse_projection8521wor, {
name: d => d.landuse_type,
value: d => d.area_km2,
width,
height: 500
})
Insert cell
Insert cell
landuse_projection8550mid = d3.csv("https://gist.githubusercontent.com/thiggimajig/48f38cde98b5b893dea4d81fd2215945/raw/c407cfe061cebffe8d3c49aea640faa941a9ff22/df_projection8550mid_km2.csv")
Insert cell
landuse_projection8550mid
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
chart_projection8550mid = DonutChart(landuse_projection8550mid, {
name: d => d.landuse_type,
value: d => d.area_km2,
width,
height: 500
})
Insert cell
Insert cell
landuse_projection8550wor = d3.csv("https://gist.githubusercontent.com/thiggimajig/48f38cde98b5b893dea4d81fd2215945/raw/c407cfe061cebffe8d3c49aea640faa941a9ff22/df_projection8550worst_km2.csv")
Insert cell
landuse_projection8550wor
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
chart_projection8550wor = DonutChart(landuse_projection8550wor, {
name: d => d.landuse_type,
value: d => d.area_km2,
width,
height: 500
})
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more