// Link 3 notebooks with a sunburst diagram. Try to choose notebooks that look like they'll be easy to import
// what D3 function could we use to make our data look like the data above?
// Give each object in the "data" array a field called "value." "value" should be 1 for every object
// Use d3.rollup() to format the data. Use "Type 1" as the first key and use "Type 2" as the second key. Sum up the values according to the value field
// make a new variable called "formattedData." It should be an Object with two fields: "name" and "children" Assign "name" a value of "Types" For the "children" field assign it our nested data
// use import to import "chart" from '@d3/subburst' and use thw "with" statement to replace the notebook's "data" variable with our "formattedData" varaible
chart// the "null" just means that pokemon only has 1 type
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.