Public
Edited
Jul 20, 2023
Fork of Radar chart
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
Insert cell
Insert cell
radarLine = d3.lineRadial()
.curve(d3[curveSelect])
.radius(d => rScale(d))
.angle((d, i) => i * angleSlice)
Insert cell
Insert cell
rScale = d3.scaleLinear()
.domain([0, maxValue])
.range([0, radius])
Insert cell
color = d3.scaleOrdinal().range(["#cccccc"])
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data = [
[
//iPhone
{ axis: "fruity", value: 1 },
{ axis: "herbal", value: 1 },
{ axis: "spicy", value: 1 },
{ axis: "floral", value: 1 },
{ axis: "earthy", value: 1 },
{ axis: "tart", value: 1 },
{ axis: "sweet", value: 1 }
]
]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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