select avg(incidence) incidence, fips.state, fips.fips from reported
left join fips on reported.state = fips.state
where disease=${disease}
group by fips.state, fips.fips
chart=addTooltips(
Choropleth(incidence,{
id:(d)=>d.fips,
value:(d)=>d.incidence,
features:states,
width:975,
height:610
}),
{stroke:"black"}
)
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.