Skip to content

html template to embed only the chart of an Observable notebooks

Notifications You must be signed in to change notification settings

ponassi/embeddedChart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

embeddedChart

html template to embed the chart of an Observable notebooks without the auxiliary cell

The OnlyChart template is used with eg. https://observablehq.com/@d3/choropleth

  • If you need to change the shown chart you have to modify "chart" (line 15 of chart.html) with the identifier of the desired cell

The Selector+Chart template is used with eg. https://observablehq.com/@d3/bivariate-choropleth

  • If you need to change the shown selector you have to modify "viewof colors" (line 19 of chart.html) with the identifier of the desired cell
  • If you need to change the shown chart you have to modify "chart" (line 22 of chart.html) with the identifier of the desired cell

The identifier of the desired cell have to be retrieved from the notebook.js

About

html template to embed only the chart of an Observable notebooks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages