vl.x().fieldO("letter"),// .sort(vl.fieldQ("frequency").order("descending")), // Letters are ordinal on the x-axis
vl.y().fieldQ("frequency").axis({format:"%"})// Frequency on the y-axis, formatted as percent
)
.render()
d3=require("d3-dsv@1","d3-fetch@1")
import{vl}from"@vega/vega-lite-api"
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.