Four hundred squares for finer shares
options.units raises the grid's resolution: at 400 squares each one is a quarter point, so a 6.1% share lands on 24 squares instead of rounding to 6. The trade is texture for precision.
View the spec
{
"type": "waffle",
"theme": "mint",
"title": "Browser share of visits",
"source": "Web analytics, this quarter",
"options": {
"units": 400
},
"data": {
"labels": [
"Chrome",
"Safari",
"Edge",
"Firefox",
"Other"
],
"series": [
{
"name": "Visits",
"values": [
61.2,
17.8,
9.4,
6.1,
5.5
]
}
]
}
}