Shaded bubble

Bubbles with a radial gradient for a spherical look.

Chart type
Bubble bubble
Tier
Free Core
Collection
Bubble
Render
Live, site theme
View .md Agent setup
LIVE/bubble/3d-bubble2 of 2 in Bubble

Configuration

Raw Standalone
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "bubble",
    toolbar: {
      show: false
    }
  },
  series: [
    {
      name: "North",
      data: [
        [4, 41, 64],
        [17, 79, 66],
        [2, 83, 57],
        [1, 55, 30],
        [6, 64, 53],
        [7, 56, 10],
        [5, 42, 57],
        [25, 25, 51]
      ]
    },
    {
      name: "South",
      data: [
        [3, 60, 45],
        [10, 46, 48],
        [8, 26, 39],
        [3, 69, 53],
        [19, 35, 65],
        [4, 87, 27],
        [20, 31, 22],
        [30, 26, 18]
      ]
    },
    {
      name: "East",
      data: [
        [7, 11, 27],
        [26, 42, 33],
        [26, 63, 42],
        [1, 64, 34],
        [6, 88, 33],
        [3, 81, 67],
        [12, 64, 26],
        [11, 89, 55]
      ]
    }
  ],
  fill: {
    type: "gradient",
    gradient: {
      type: "radial",
      shade: "light",
      shadeIntensity: 0.6,
      opacityFrom: 1,
      opacityTo: 0.85,
      stops: [0, 100]
    }
  },
  dataLabels: {
    enabled: false
  },
  xaxis: {
    tickAmount: 6,
    title: {
      text: "Week"
    }
  },
  yaxis: {
    title: {
      text: "Share %"
    }
  },
  title: {
    text: "Market share by week (size = revenue)"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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