Get started with vizceral CDN
Apache-2.0 licensed
Vizceral is a lightweight library for creating interactive data visualizations.
Tags:- webgl
- traffic
- graph
- particles
- flow
- intuition
- visceral
Stable version
Copied!
How to start using vizceral CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with vizceral CDN - cdnhub.io</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js"></script>
<script src="https://cdn.cdnhub.io/vizceral/4.9.0/vizceral.min.js"></script>
<style>
#app { font-family: 'Avenir', Helvetica, Arial, sans-serif; text-align: center; }
</style>
</head>
<body>
<div id="app">
<vizceral :data="data" :fields="fields" :columns="columns">
<template slot="table-actions">
<button @click="exportCSV">Export CSV</button>
</template>
<template slot="table-body" slot-scope="{ row }">
<td>{{ row.name }}</td>
<td>{{ row.age }}</td>
<td>{{ row.city }}</td>
</template>
</vizceral>
</div>
<script>
new Vue({
el: '#app',
data: {
data: [
{ name: 'John Doe', age: 30, city: 'New York' },
{ name: 'Jane Doe', age: 25, city: 'Los Angeles' },
{ name: 'Bob Smith', age: 45, city: 'Chicago' },
],
fields: ['name', 'age', 'city'],
columns: ['Name', 'Age', 'City'],
},
methods: {
exportCSV() {
this.$refs.table.exportCSV();
},
},
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
All versions
1.0.4
1.0.5
1.1.0
1.2.0
1.2.1
1.2.3
1.2.4
1.2.5
2.0.0
2.0.1
2.0.2
2.1.0
2.1.1
2.1.2
2.2.0
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8
2.4.0
2.4.1
2.5.0
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
4.0.0
4.0.1
4.0.2
4.1.0
4.1.1
4.2.0
4.2.1
4.2.2
4.2.3
4.3.0
4.3.1
4.3.2
4.3.3
4.3.4
4.3.5
4.3.6
4.3.7
4.3.8
4.4.0
4.4.1
4.4.3
4.5.0
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.6.0
4.6.1
4.6.2
4.6.3
4.7.0
4.7.1
4.7.2
4.7.3
4.8.0
*** 4.9.0