Published
Edited
Jan 21, 2021
1 fork
1 star
Also listed in…
Ray Tracing
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

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