HTML/JavaScript Code
The HTML elements and JavaScript code used in this example.
...
<div id="chartDiv"></div>
...
function showChart() {
let config = {
title: "World Population Density, Fertility Rate, and Population Historical Values",
width: "800",
height: "600",
darkMode: true,
numberOfDecimals: 2,
thousandsSeparator: ".",
decimalSeparator: ",",
transitionTime: 2,
logarithmicXaxis: true,
measures: [{ title: "Population Density" }, { title: "Fertility Rate" }, { title: "Population" }],
dataCSVURL: "/charts-lib/examples/world-population-density-fertility.csv"
}
kyubitTimeCharts.showBubbleChart("chartDiv", config);
}
Learn more about
Animated Bubble Chart API.