by BoppreH · 12y ago · 0 comments
https://github.com/asciimoo/cssplot/blob/master/cssplot.css
.bar-chart ul li[data-cp-size="0"] {
height: 0%;
}
.bar-chart ul li[data-cp-size="1"] {
height: 1%;
}
.bar-chart ul li[data-cp-size="2"] {
height: 2%;
}
...
Still find it cool, but a 1200 line CSS may be a bit too much for a practical application..scatterplot ul li[data-cp-y] { bottom: attr(data-cp-y %); }
height: attr(sata-cp-size px);