Added script and visualization from D3 homework for reuse.