Pie Chart | Li Zeng | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Li Zeng
@lizeng
Comments (5)
Li Zeng
Oct 31, 2020
Here you format your own dataset.
Reply
Li Zeng
Oct 31, 2020
This is the data set that the original author is using. Examine its structure and make sure your formatted dataset has the same structure!
Reply
Li Zeng
Oct 31, 2020
Now I load custom data
Reply
Li Zeng
Oct 31, 2020
Remember the dataset name you used here should match your dataset's name!
Reply
Li Zeng
Oct 31, 2020
Here I format the custom data to match the structure required. In the custom dataset, "Rank By Percent" should be numeric instead of string, so make sure to convert it!
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
0
Follow
Follow
Pie Chart | Li Zeng | Observable