population=881500// San Francisco's 2019 population, roughly
vl.markBar()
.data(filtered)
.encode(
vl.y().fieldN('organization_group').sort('-x'),
vl.x().sum('per_capita_budget')
)
.render()
import{vl}from'@vega/vega-lite-api'
import{select}from'@jashkenas/inputs'
d3=require('d3-fetch')
import{twitch}from'@codingwithfire/twitch'
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.