Here I have shown two D3 visualizations with custom dataset. One of the visualizations is a line graph and the other is a bar graph.