color(21)// El color para 21 (máximo) es el rojo rgb(255,0,0)
color(0)// El color para 0 (mínimo) es el amarillo rgb(255,255,0)
legend({color,title:"Kg de fruta"})
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.