Hacker News new | ask | show | jobs
by nt2h9uh238h 1920 days ago
1. Is this substantially faster than JS? (canvas / .svg). Please test this exhaustively. Render time and script evaluation for JS charts is still a huge JS problem.

2. Can this be made interactive, e.g. on mouse-over show exact numbers? Without interactivity, it is still kinda lame

3 comments

2. Yes, see for example https://chartscss.org/examples/column/ and the feature list https://chartscss.org/charts/
2. You could use the title attribute to accomplish this. The example for mouseover contains a span tag that probably mess it up for a screen reader read so it reads it out twice. Might happen if using the title attribute as well.
Yeah, it can be a flip depending on implementation, whether you can beat something that is just pixels and GPU with the DOM + browser rendering engine, which has more layers and unpredictability.