How to proceed on first Data Visualization project

I just finished the Data Visualization course and am now trying the first project, “Visualize Data with a Bar Chart” where we have to plot the US GDP.

To get started I’ve been trying to just get some previous exercises from the course to show up on CodePen, but when I copy/paste them in, nothing happens. I’ve divided up the html/css/js sections, but still nothing appears (as opposed to the exercises where we ca see the SVG output).

What am I missing here?

1 Like

Please post a link of your CodePen!

1 Like

Here is the link:

I’ve just basically copy/pasted the code from the final exercise, to see what it would look like before changing things around, but nothing is showing up.

1 Like

On js tab you must import d3 library! Go to “Open JS Settings” then in search bar " Add External Scripts/Pens" add d3 library!

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.