Public
Edited
Feb 20, 2023
7 stars
Also listed in…
Hello
Insert cell
Insert cell
html2canvas(chart)
Insert cell
chart = Plot.auto(penguins, {
x: "culmen_length_mm",
color: "species"
}).plot({
caption: md`## A caption

Multiline, that is. This chart displays the distribution of penguin species, represented by bars of varying lengths. Each bar represents a different species of penguin and its height corresponds to the number of individuals observed. The chart shows that the Adelie penguin has the highest representation in the dataset, followed by the Chinstrap and Gentoo penguins. The chart provides a visual representation of the relative abundance of each species and can be used to make comparisons between them. _Caption generated by ChatGPT, which didn’t even need to look at the data._`,
color: { legend: true }
})
Insert cell
html2canvas = require("html2canvas")
Insert cell
Insert cell
something = md`### Hello html2canvas

${tex`x^2`}

`
Insert cell
Insert cell
html2canvas(something)
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