--- title: Create a Bar for Each Data Point in the Set --- # Create a Bar for Each Data Point in the Set --- ## Problem Explanation To complete this challenge, you must make use of D3's **.data()**, **.enter()**, and **.append()** methods. --- ## Hints ### Hint 1 As with the previous challenges, make use of D3's .data() method, passing **dataset** as an argument. ### Hint 2 Ensure that you follow using .data(arg) with .enter() ### Hint 3 Finally, to create and add the **rect** shape, make use of the .append() method, passing "rect" as an argument. Ensure that you enclose "rect" in quotation marks.
Solution 1 (Click to Show/Hide) ```html ```