# Visualize Data with a Bar Chart - Help Please

**URL:** <https://forum.freecodecamp.org/t/visualize-data-with-a-bar-chart-help-please/257257>\
**Category:** General\
**Created:** [February 7, 2019, 7:34am UTC](https://forum.freecodecamp.org/t/visualize-data-with-a-bar-chart-help-please/257257 "2019-02-07T07:34:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew.kwintowski](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@andrew.kwintowski](https://forum.freecodecamp.org/u/andrew.kwintowski)\
**Post date:** [February 7, 2019, 7:34am UTC](https://forum.freecodecamp.org/t/visualize-data-with-a-bar-chart-help-please/257257/1 "2019-02-07T07:34:46Z")

</div>

Hi All,  
Doing the project and scratching my head as to why the tooltip tests aren’t passing in my solution?

Here’s my Codepen: [https://codepen.io/kwintowski/pen/OdxNaX](https://codepen.io/kwintowski/pen/OdxNaX)

And here’s the element from the Dev Tools:

`<rect width="2.2545454545454544" height="300.86168051503756" x="644.2181818181817" y="59.13831948496244" data-date="2014-01-01" data-gdp="16984.3" fill="green" class="bar"><title id="tooltip" data-date="2014-01-01">$16984.3 Billion</title></rect>`

Would love some advice or to be pointed in the right direction.

Cheers,  
Andrew

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:05pm UTC](https://forum.freecodecamp.org/t/visualize-data-with-a-bar-chart-help-please/257257/2 "2021-01-17T20:05:44Z")

</div>


