Modify d3 workshop code examples