Team roster
One named mark per person; hover shows who.
Open the chart without page chrome ↗
const options = {
chart: {
height: 380,
fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
type: "unit",
toolbar: {
show: false
}
},
series: [
{
name: "Design",
data: [
{
name: "Ada A",
id: "Design0"
},
{
name: "Ben B",
id: "Design1"
},
{
name: "Chen C",
id: "Design2"
},
{
name: "Dara D",
id: "Design3"
},
{
name: "Eli E",
id: "Design4"
},
{
name: "Fay F",
id: "Design5"
}
]
},
{
name: "Platform",
data: [
{
name: "Fay A",
id: "Platform0"
},
{
name: "Gus B",
id: "Platform1"
},
{
name: "Hana C",
id: "Platform2"
},
{
name: "Ivo D",
id: "Platform3"
},
{
name: "Jun E",
id: "Platform4"
},
{
name: "Kai F",
id: "Platform5"
},
{
name: "Lea G",
id: "Platform6"
},
{
name: "Mo H",
id: "Platform7"
},
{
name: "Nia I",
id: "Platform8"
},
{
name: "Oli J",
id: "Platform9"
},
{
name: "Pia K",
id: "Platform10"
}
]
},
{
name: "Mobile",
data: [
{
name: "Kai A",
id: "Mobile0"
},
{
name: "Lea B",
id: "Mobile1"
},
{
name: "Mo C",
id: "Mobile2"
},
{
name: "Nia D",
id: "Mobile3"
},
{
name: "Oli E",
id: "Mobile4"
},
{
name: "Pia F",
id: "Mobile5"
},
{
name: "Ada G",
id: "Mobile6"
},
{
name: "Ben H",
id: "Mobile7"
}
]
},
{
name: "Data",
data: [
{
name: "Pia A",
id: "Data0"
},
{
name: "Ada B",
id: "Data1"
},
{
name: "Ben C",
id: "Data2"
},
{
name: "Chen D",
id: "Data3"
},
{
name: "Dara E",
id: "Data4"
}
]
}
],
plotOptions: {
unit: {
layout: "columns",
shape: "pictogram",
pictogram: {
mark: "person"
},
clusterLabels: {
show: true,
position: "bottom"
}
}
},
title: {
text: "Team roster (30 people)"
},
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'
WestCoastCharts.use(types)
const options = {
chart: {
height: 380,
fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
type: "unit",
toolbar: {
show: false
}
},
series: [
{
name: "Design",
data: [
{
name: "Ada A",
id: "Design0"
},
{
name: "Ben B",
id: "Design1"
},
{
name: "Chen C",
id: "Design2"
},
{
name: "Dara D",
id: "Design3"
},
{
name: "Eli E",
id: "Design4"
},
{
name: "Fay F",
id: "Design5"
}
]
},
{
name: "Platform",
data: [
{
name: "Fay A",
id: "Platform0"
},
{
name: "Gus B",
id: "Platform1"
},
{
name: "Hana C",
id: "Platform2"
},
{
name: "Ivo D",
id: "Platform3"
},
{
name: "Jun E",
id: "Platform4"
},
{
name: "Kai F",
id: "Platform5"
},
{
name: "Lea G",
id: "Platform6"
},
{
name: "Mo H",
id: "Platform7"
},
{
name: "Nia I",
id: "Platform8"
},
{
name: "Oli J",
id: "Platform9"
},
{
name: "Pia K",
id: "Platform10"
}
]
},
{
name: "Mobile",
data: [
{
name: "Kai A",
id: "Mobile0"
},
{
name: "Lea B",
id: "Mobile1"
},
{
name: "Mo C",
id: "Mobile2"
},
{
name: "Nia D",
id: "Mobile3"
},
{
name: "Oli E",
id: "Mobile4"
},
{
name: "Pia F",
id: "Mobile5"
},
{
name: "Ada G",
id: "Mobile6"
},
{
name: "Ben H",
id: "Mobile7"
}
]
},
{
name: "Data",
data: [
{
name: "Pia A",
id: "Data0"
},
{
name: "Ada B",
id: "Data1"
},
{
name: "Ben C",
id: "Data2"
},
{
name: "Chen D",
id: "Data3"
},
{
name: "Dara E",
id: "Data4"
}
]
}
],
plotOptions: {
unit: {
layout: "columns",
shape: "pictogram",
pictogram: {
mark: "person"
},
clusterLabels: {
show: true,
position: "bottom"
}
}
},
title: {
text: "Team roster (30 people)"
},
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 unit-team-roster.json --out unit-team-roster.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/unit/team-roster/index.md …