3 ms·
pretty good. can user interactive charts be prepared in this way?
by pictur 3y ago
pretty good. can user interactive charts be prepared in this way?
- nkozyra 3y agoSure, but you'll need JS for anything complex. You could use SVG+CSS to show/hide specific things like data values on mouseover but it would be a global on/off for the whole chart.
- mindok 3y agoYes, but depending on the interactions it can get complex quickly. D3.js handles all the interactions in JS on the client. ContEx (elixir server-side charting) handles certain events (e.g. data point click) server side (see https://contex-charts.org/barcharts https://contex-charts.org/barcharts - turn on “show clicked bar” option). Showing data point detail, e.g. “On hover” would require client side code. (Disc: ContEx author)