<html>
<body>
<div id="vizzu" style="width: 720px; height: 430px">
</div>
</body>
</html>
import Vizzu from 'https://cdn.jsdelivr.net/npm/vizzu@0.9/dist/vizzu.min.js'
import { data } from 'https://lib.vizzuhq.com/0.9/assets/data/chart_types_eu.js'
import { MarkerDropshadow } from 'https://cdn.jsdelivr.net/npm/@vizzu/marker-dropshadow@vizzu-0.9/dist/mjs/index.min.js'
window.addEventListener('load', async function () {
const chart = new Vizzu('vizzu')
chart.feature(new MarkerDropshadow(), true)
await chart.initializing
chart.animate({
data
})
chart.animate({
config: Vizzu.presets.column({
x: 'Joy factors',
y: 'Value 2 (+)',
title: 'Sum of Values'
}),
style: {
plot: {
marker: {
shadowColor: '#60000060',
shadowBlur: 9,
shadowOffsetX: 3,
shadowOffsetY: 3
}
}
}
})
})
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.