Pictogram population

People pictograms, one figure = 1 million residents.

Chart type
Unit unit
Tier
Free Core
Collection
Unit & pictogram
Render
Live, site theme
View .md Agent setup
LIVE/unit/pictogram-population1 of 33 in Unit

Configuration

Raw Standalone
const options = {
  chart: {
    height: 420,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "unit",
    toolbar: {
      show: false
    }
  },
  series: [38, 24, 17, 11],
  labels: ["Coastal cities", "Inland cities", "Towns", "Rural"],
  plotOptions: {
    unit: {
      shape: "pictogram",
      pictogram: {
        mark: "person"
      },
      unitValue: 1,
      clusterLabels: {
        show: true,
        formatter: (n, o) => n + ' · ' + o.value + 'M'
      }
    }
  },
  title: {
    text: "Where 90 million people live (1 figure = 1M)"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()