# D3 Scatterplot Challenge : Example Not Passing All tests

**URL:** <https://forum.freecodecamp.org/t/d3-scatterplot-challenge-example-not-passing-all-tests/446808>\
**Category:** freeCodeCamp Contributors\
**Tags:** contributing\
**Created:** [February 17, 2021, 10:54am UTC](https://forum.freecodecamp.org/t/d3-scatterplot-challenge-example-not-passing-all-tests/446808 "2021-02-17T10:54:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mit2u](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mit2u/32/202477_2.png) [@mit2u](https://forum.freecodecamp.org/u/mit2u)\
**Post date:** [February 17, 2021, 10:54am UTC](https://forum.freecodecamp.org/t/d3-scatterplot-challenge-example-not-passing-all-tests/446808/1 "2021-02-17T10:54:32Z")

</div>

Recently I passed D3 Scatterplot challenge. I found example [https://codepen.io/freeCodeCamp/full/bgpXyK](https://codepen.io/freeCodeCamp/full/bgpXyK) is not passing 2 tests. Please update example with a good solution [https://codepen.io/Anastasiia\_f/pen/BaaZORY?editors=0010](https://codepen.io/Anastasiia_f/pen/BaaZORY?editors=0010)

---

<div class="post-metadata">

**Author:** ![Sky020](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sky020/32/128093_2.png) [@Sky020](https://forum.freecodecamp.org/u/Sky020)\
**Post date:** [February 17, 2021, 11:11am UTC](https://forum.freecodecamp.org/t/d3-scatterplot-challenge-example-not-passing-all-tests/446808/2 "2021-02-17T11:11:00Z")

</div>

Welcome, mit2u.

The example project passes all of the tests for me. Try running the tests in a different browser, or with browser extensions disabled.

---

<div class="post-metadata">

**Author:** ![mit2u](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mit2u/32/202477_2.png) [@mit2u](https://forum.freecodecamp.org/u/mit2u)\
**Post date:** [February 18, 2021, 4:48am UTC](https://forum.freecodecamp.org/t/d3-scatterplot-challenge-example-not-passing-all-tests/446808/3 "2021-02-18T04:48:33Z")

</div>

Okay on changing time zone to US Eastern Time , all tests passed. But using .setMinutes() & .setSeconds() as specified in Anastasiia code passes all tests,even in my time zone(UTC+5:30).  
Can’t figure out why?  
Here’s my code [JSFiddle - Code Playground](https://jsfiddle.net/mitulrawat/moe30ayr/2/)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 19, 2021, 4:48pm UTC](https://forum.freecodecamp.org/t/d3-scatterplot-challenge-example-not-passing-all-tests/446808/4 "2021-08-19T16:48:38Z")

</div>

Closed on August 19, 2021, 4:48pm UTC

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