Image source refactoring
Add a d3 example