This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@impetusuxp/vizualy-bubble-chart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Bubble Chart
Installation
Use the package manager NPM to install Bubble Chart.
import BubbleChart from '@impetusuxp/vizualy-bubble-chart';
const bubbleChart = new BubbleChart();
// Draw chart
bubbleChart
.container('containerID')
.x('x axis key in data') // Referred as "x" key in sample Data
.y('y axis key in data') // Referred as "y" key in sample Data
.r('r key in data') // Referred as "radius" key in sample Data
.labelName('label key in data') // Referred as "labelName" key in sample Data
.data(data object) // Referred to sample data
.settings(chart configuration object)
.draw();
// Update chart
bubbleChart.data(updated data object).update();
<script type="text/javascript" src="./libs/d3.v6.min.js"></script>
<script type="text/javascript" src="./vizualy-assistant/src/js/utility.js"></script>
<script type="text/javascript" src="./vizualy-assistant/src/js/assistant.js"></script>
<script type="text/javascript" src="./vizualy-assistant/src/js/observer.js"></script>
<script type="text/javascript" src="./vizualy-bubble-chart/vizualy-bubble-chart.js"></script>
<script>
const bubblechart = new vizualy.BubbleChart();
// Draw chart
bubbleChart
.container('containerID')
.x('x axis key in data') // Referred as "PerCapita" key in sample Data
.y('y axis key in data') // Referred as "Value" key in sample Data
.r('r key in data') // Referred as "lifeExp" key in sample Data
.labelName('label key in data') // Referred as "labelName" key in sample Data
.data(data object) // Referred to sample data
.settings(chart configuration object)
.draw();
// Update chart
bubbleChart.data(updated data object).update();
</script>
Make sure to use/import vizualy-assistant/src/css/common.css in your code-base as per recommended by frontend framework being used