Published
Edited
Sep 22, 2020
Fork of Radar chart
1 fork
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
Insert cell
Insert cell
Insert cell
Insert cell
Data4Bale19 = flatBale19.filter((row)=> dd2.includes(row.axis));
Insert cell
Insert cell
Bale19Data = dataGB19.data.members[0].statistic_groups
Insert cell
dataGB19 = d3.json("https://gist.githubusercontent.com/theojolliffe/ad96ba4fab1695fbf5d9d5645e1c0658/raw/38fb60bf5c92a3adec3fa4de9870da3fb177c53a/GBale19")
Insert cell
Data4Son = flatSon.filter((row)=> dd2.includes(row.axis));
Insert cell
flatSon = {
var flatSon = []
SonData.forEach(function(cat) {
if (cat.name != "Goalkeeper" & cat.name != "Defence") {
cat.statistics.forEach(function(stat) {
flatSon.push({
axis: stat.name,
value: stat.value,
positive: stat.positive,
});
});
}
});
return flatSon
}
Insert cell
SonData = dataHMS.data.members[0].statistic_groups
Insert cell
Insert cell
Insert cell
flatRonaldo[1].value
Insert cell
flatSon[1]
Insert cell
flatBale[1]
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
color = d3.scaleOrdinal()
.range(["#EDC951","#CC333F","#00A0B0", "green"])
Insert cell
Insert cell
Insert cell
Insert cell
rScale = d3.scaleLinear()
.domain([0, maxValue])
.range([0, radius])
Insert cell
Insert cell
Insert cell
import { radio } from "@jashkenas/inputs"
Insert cell
import {select} from "@jashkenas/inputs"
Insert cell
Insert cell
Insert cell
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more