Category Archives: Web Development

Exporting SVG graphics to PNG or JPG

Over the past 6 months, I’ve had the pleasure of working on a project that sought to use d3.js to generate custom graphs on the fly. The learning curve was a bit steep and I still wouldn’t consider myself a d3 expert, but we’ve managed to come up with a tool that allows users to select one or more data sets and graph them over a custom time span with options to tweak line colors and styles. The customer was pleased, but now that they had these impressive graphs, they wanted to be able to export them as images for use in their reports.
Continue reading Exporting SVG graphics to PNG or JPG

Away we go

Welcome to my professional home.  I’m Josh Piper and I’m a full-stack web developer, located in Portland, Oregon.  I’m a huge fan of Twitter, but sometimes I need more than 140 characters to document the thoughts rattling around in my head.  I hope to use this site to document some of interesting things I learn along the way.