Step Progress Bar based on data with animated transitions. setInterval is just for demonstration, use updateProgressBar(element) instead.
InputBox object based on deeply tweaked SVG button by pbogden. Has minor warning "orm submission canceled because the form is not connected", so if anyone has any suggestion how to fix it — you're more than welcome.
Just leave your comments here.
border: no | |
height: 960 |
border: no | |
height: 960 |
Based on http://bl.ocks.org/brattonc/5e5ce9beee483220e2f6 made by Curtis Bratton [brattonc]
You should keep SVG structure and hierarchy:
- <svg id={name} ... />
- area to be animated
Based on https://bl.ocks.org/abrahamdu/e1481e86dd4e9d553cc2d7d359b91e68 Please keep in mind that this example is using just a fragment taken from Wikipedia.
<!DOCTYPE html> | |
<html> | |
<head lang="en"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<meta name="keywords" content="d3.js,javascript"> | |
<title>D3.JS Player with Iterator</title> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
TODO LIST:
[x] dynamic gradients for pseudo-3D aesthetics [x] mockup tooltip, for now, containing only value. Eventually, could be extended with additional data.
[x] top left and right grids should match values [!] isometric view doesn't work well while back stack visually merge with front ones, so it makes the whole graph illegible. Have to be perspective view. To do this
/* | |
WEEKLY TICKET STACKS Ф | |
[based on two points prespective built with Ф golden ratio] | |
zl: { x: -11,070, y: 11,993 } | |
zm: { x: 0.0, y: 14.392 } | |
zr: { x: 12.749, y: 12.466 } | |
tp: { x: 0.0, y: 0.0 } |