Published
Edited
Apr 18, 2020
2 stars
Insert cell
md`# Vertical Chart with Import json file`
Insert cell
values = FileAttachment("values-1@1.json").json()
Insert cell
d3 = require("d3@5")
Insert cell
[d3.min(values), d3.median(values), d3.max(values)]
Insert cell
import {chart as chart1} with {values as data} from "@d3/histogram"
Insert cell
chart1
Insert cell
height=200
Insert cell
import {chart as chart2} with {values as data, height} from "@d3/histogram"
Insert cell
chart2
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