Get started with viz.js CDN
MIT licensed
Viz.js: Versatile library for data visualization with various charts.
Tags:- GraphViz
- viz
Stable version
Copied!
How to start using viz.js CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with viz.js CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/viz.js/2.1.2/viz.js"></script>
<style>
#chart { width: 500px; height: 300px; }
</style>
</head>
<body>
<div id="chart"></div>
<script>
const data = {
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
series: [
[10, 15, 12, 17, 18, 21],
[5, 12, 14, 15, 17, 22]
]
};
new viz.LineChart('chart', data);
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!