Published
Edited
Apr 13, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof mock = Select(allMocks, { label: "all mocks" })
Insert cell
Plotly.newPlot(DOM.element('div'), fig);



Insert cell
Insert cell
allMocks = {
return [
'icicle_coffee-maxdepth3-all-directions',
'icicle_coffee-maxdepth3',
'icicle_coffee',
'icicle_count_branches',
'icicle_first',
'icicle_flare',
'icicle_leaf-opacity-level',
'icicle_packages_colorscale_novalue',
'icicle_root-sort',
'icicle_textposition',
'icicle_values_colorscale',
'icicle_with-without_values',
'icicle_with-without_values_template',
'uniformtext_icicle'
];
}
Insert cell
fig = fetch("https://raw.githubusercontent.com/plotly/plotly.js/" + branch + "/test/image/mocks/" + mock + ".json")
.then(function(response){
return response.json();
})

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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