Published
Edited
May 6, 2022
Insert cell
Insert cell
data = FileAttachment("NM_Yearly_Fires@1.csv").csv({typed: true})
Insert cell
Plot.plot({
width: 600,
height: 400,
inset: 8,
marginLeft: 80,
grid: true,
color: {
legend: true,
},
x:
{
ticks: 10,
tickFormat: "y"
},
marks: [
// Plot.dot(data, Plot.binX({y: "sum"},{
// x: "Year",
// y: "Acres",
// fill: "black",
// //r: "Acres",
// //stroke: "sex"
// })),
Plot.dot(data, {
x: "Year",
y: "Acres",
fill: "black",
//r: "Acres",
//stroke: "sex"
})
]
})
Insert cell

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.
Learn more