Exporting D3 charts to SVG and PNG: a library

Lately I’ve been very interested in the topic of exporting PNG or SVG assets from D3 charts created with SVG and CSS. This is a very important topic because those exports are often a big selling point of paid data visualizations libraries, and rightfully so – you can’t reuse a dynamic D3 chart as easily as a static asset.

Line chart interaction overlay

Here is a quick example of allowing interaction with specific lines in a D3 chart. The lines take up very little space, so we render a transparent interactive overlay on top on which the event handlers are bound.

Front-end development podcasts

I’m an avid podcast listener. I usually listen to at least two hours of podcasts per day at work, plus some more while cooking. My commute is unfortunately too short for any podcast listening to happen.

Among those podcasts there are quite a few that are related to front-end development. Those are a gold mine in terms of keeping up with your craft because you get to hear interviews, conversations that go beyond the “new features in X announcements”.