Published
Edited
Jan 21, 2021
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
windowAspect = width/height
Insert cell
xScale = d3
.scaleLinear()
.domain([-10 * windowAspect, 10 * windowAspect])
.range([0, width])
Insert cell
yScale = d3.scaleLinear().domain([-10, 10]).range([height, 0])
Insert cell
scale = (p)=>[xScale(p[0]),yScale(p[1])]
Insert cell
Insert cell
md`### External Libraries and Tools`
Insert cell
arrowhead
Insert cell
import { arrowhead} from "@harrystevens/linear-algebra"
Insert cell
import {rangeSlider, themes} from '@mootari/range-slider'
Insert cell
d3 = require("d3@5")
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