// Create and customize a scatterplot of Consumption (HCF) and Current Charges from the nyc_water data:
Plot.plot({
marks:[
Plot.dot(nyc_water,{
x:"Consumption (HCF)",
y:"Current Charges",
fill:"purple",
opacity:0.5,
symbol:"star",
r:"Consumption (HCF)"
})
],
x:{domain:[0,5e4],grid:true,tickFormat:".1s"},
marginLeft:100
})
import{showMe}from"@observablehq/show-me"
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.