Public
Edited
Mar 24, 2023
Insert cell
Insert cell
Insert cell
pizzaorders.sort((a, b) => {
return a.orderDate.getTime() - b.orderDate.getTime();
});
Insert cell
pizzaorders
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Average prices seems to be pretty stable, with vegetarian pizza slightly decreasing and the rest slightly increasing.

**(this graph starts at 16$, it's not 0-based)**
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
parser = d3.timeParse("%Y-%m-%d");
Insert cell
import {pizzaorders} from "@observablehq/data-vis-course-assignment"
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