Task mix by team
Task type split (Feature, Bug, Chore, Research) per team as donut panels with the same colour order.
Open the chart without page chrome ↗
const options = {
chart: {
height: "auto",
fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
type: "donut",
toolbar: {
show: false
}
},
series: [
{
name: "Tickets",
team: "Platform",
data: [23, 14, 15, 6]
},
{
name: "Tickets",
team: "Payments",
data: [5, 39, 18, 5]
},
{
name: "Tickets",
team: "Search",
data: [15, 30, 14, 17]
},
{
name: "Tickets",
team: "Mobile",
data: [40, 35, 25, 5]
},
{
name: "Tickets",
team: "Data",
data: [37, 21, 23, 19]
},
{
name: "Tickets",
team: "Growth",
data: [6, 19, 18, 25]
}
],
labels: ["Feature", "Bug", "Chore", "Research"],
dataLabels: {
enabled: false
},
trellis: {
by: "team",
columns: 3,
aspectRatio: 1.2,
legend: "shared"
},
title: {
text: "Tickets by type"
},
theme: {
mode: "light",
preset: "coastal"
}
}
const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()import WestCoastCharts from 'west-coast-charts'
import types from 'west-coast-charts/types'
import trellis from 'west-coast-charts/features/trellis'
WestCoastCharts.use(types).use(trellis)
const options = {
chart: {
height: "auto",
fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
type: "donut",
toolbar: {
show: false
}
},
series: [
{
name: "Tickets",
team: "Platform",
data: [23, 14, 15, 6]
},
{
name: "Tickets",
team: "Payments",
data: [5, 39, 18, 5]
},
{
name: "Tickets",
team: "Search",
data: [15, 30, 14, 17]
},
{
name: "Tickets",
team: "Mobile",
data: [40, 35, 25, 5]
},
{
name: "Tickets",
team: "Data",
data: [37, 21, 23, 19]
},
{
name: "Tickets",
team: "Growth",
data: [6, 19, 18, 25]
}
],
labels: ["Feature", "Bug", "Chore", "Research"],
dataLabels: {
enabled: false
},
trellis: {
by: "team",
columns: 3,
aspectRatio: 1.2,
legend: "shared"
},
title: {
text: "Tickets by type"
},
theme: {
mode: "light",
preset: "coastal"
}
}
const chart = new WestCoastCharts(document.querySelector('#chart'), options)
await chart.render() Waiting for the chart.
Open Data & agent view to read this chart through chart.describe().
Read from the running library through its optional agent/describe module. Text, table and JSON share the same snapshot. Demo data only.
$ wcc chart export trellis-task-mix-by-team.json --out trellis-task-mix-by-team.svg --with-table Public agent tools 0.2.3, tested with Library 1.1.5; available from the versioned GitHub release and npm. Save a JSON spec first and check the loaded runtime and supported modules before rendering. Command reference
Loading /gallery/trellis/task-mix-by-team/index.md …