frontend: basic d3 chart