Free Core · MIT
Download Free Core
Build charts in your own project. Free for personal and commercial use, with no account, payment or licence key.
Your first chart in minutes
- Download and unzip the ZIP archive.
- Open example.html to see a real chart without a network request.
- Copy the dist folder into your project and use the example below.
<div id="chart"></div>
<script src="./dist/west-coast-charts.full.min.js"></script>
<script>
new WestCoastCharts(document.querySelector('#chart'), {
chart: { type: 'bar', height: 360 },
series: [{ name: 'Requests', data: [24, 38, 31, 52] }],
xaxis: { categories: ['Mon', 'Tue', 'Wed', 'Thu'] }
}).render();
</script> The Full Free build includes Core, all free chart types and optional features in one file. The smaller Core build and individual free plugins are included too.
Using a package manager
Install the versioned public Core package directly in your project:
npm install west-coast-charts@1.1.5 import WestCoastCharts from 'west-coast-charts/full' This exact version is available from the npm registry.
Use a browser CDN
Load this exact version without a build tool. The integrity attribute verifies the bundle bytes.
<script src="https://cdn.jsdelivr.net/npm/west-coast-charts@1.1.5/dist/west-coast-charts.full.min.js" integrity="sha384-IvVUi5Mw5BSFzQ14ISAoMnSHE1Ot+DIoyMCM5DHL/TEsZuw0l2j5im+MGc7d8C0A" crossorigin="anonymous"></script>If your application or artifact viewer blocks the CDN, bundle the installed package or host its dist files yourself. Use an external script if your Content Security Policy blocks inline code.