Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:13
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:58
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 06 2018 15:23
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
  • Jun 27 2018 04:49
    @bjorno43 banned @eddiecervello
  • Jun 26 2018 20:45
    @bjorno43 banned @DesmondJameso2_twitter
  • May 23 2018 21:45
    @bjorno43 banned @CherryPlaysRoblox1
  • May 22 2018 01:29
    @bjorno43 banned @grimroot23
  • May 21 2018 02:03
    @texas2010 banned @10milliondollarwebpage
Mike Bilyeu
@mbilyeu1
@MarcusPGreen It probably is because Date object has 0 based months
@MarcusPGreen thank you
Pagnito
@Pagnito
hey anyone can help me with passport facebook auth?
Johnny
@JohnnyBizzel
Yes
Anyone here can help me? What are people asking for?
Pagnito
@Pagnito
hey if anyone is working with PWAs i made this chat room
Greg D
@mosaic-greg
image.png
Top 11 WTA tennis tournaments by prize money
Melkisedek Hamakali
@melkisedek
Hi guys, I am working on the Data Visualization Project - Visualize Data with a Bar Chart. I am trying to align my x and y axes correctly. But I don't understand the part .attr("transform", "translate("+h-padding+","+(padding)+")"). I tried several values to see if it works but no success so far. Can any one help please? I've been on this for hours now. Here's my codepen.
Johnny
@JohnnyBizzel
@melkisedek You define a barChart but don't add it to anywhere.
Melkisedek Hamakali
@melkisedek
@JohnnyBizzel Hi, I don't know what I am doing. I am reading the documentation and looking up tutorials. I am not seeing a way out of this challenge.
Johnny
@JohnnyBizzel
@melkisedek I would expect the barChart to be added to something. Like a DOM element maybe?
@melkisedek Are you there?
Melkisedek Hamakali
@melkisedek
@JohnnyBizzel I am still here. The thing is, it worked like that before. I will revert it to demonstrate.
@JohnnyBizzel Reverted the code. It's bound to the DOM via const svg = d3 .select("body") .append("svg") .attr("width", svg_width) .attr("height", svg_height);.
Johnny
@JohnnyBizzel
Then why is nothing rendering?
Melkisedek Hamakali
@melkisedek
@JohnnyBizzel Please view it again.
@JohnnyBizzel or refresh page
Melkisedek Hamakali
@melkisedek
@JohnnyBizzel Hello?
Johnny
@JohnnyBizzel
Can't figure it out. Long time since I did d3
Melkisedek Hamakali
@melkisedek
Alright.
Johnny
@JohnnyBizzel
d3 is horrible.
You get either everything in place or nothing
Very hard when you are looking at someone else's code
Melkisedek Hamakali
@melkisedek
Is there an alternative you would recommend?
Johnny
@JohnnyBizzel
To what?
Coding?
:joy:
Johnny
@JohnnyBizzel
What is the chart meant to show?
Looks reversed
y is NaN
How are you calculating y for the bars?
Melkisedek Hamakali
@melkisedek
It should look similar to this and should use data from here
Johnny
@JohnnyBizzel
I don't know. I can't work out what values you are using for Y *the bar heights
Johnny
@JohnnyBizzel
NanD3.png
The calculation is returning NaN
Good luck with it!
Melkisedek Hamakali
@melkisedek
The dataset.data array is made up of pair of elements , a date string and a gdp value. [['1995-03-01',1232424],......]
Melkisedek Hamakali
@melkisedek
@JohnnyBizzel I'll stop here for today. Good day/night.
Lorenzo Gamboa GarcĂ­a
@Lorengamboa
High I made this slider js library! https://github.com/Lorengamboa/SMSlider
id like some review :L
Johnny
@JohnnyBizzel
*Hi
@Lorengamboa You say it is light but on glitch it uses 178 Mb! :joy:
Johnny
@JohnnyBizzel
glitch full.png
Robert Friedman
@robfr77
Hey, does anyone have any suggestions for making eco minded charts on things such as plastic consumption, forest removal, animal well being? Thanks
evaristoc
@evaristoc
@robfr77 wauw! That sounds like a good idea! Data could be found for free in some places. Try Kaggle? Ask also at the Data Science room? I would be happy to help you go that track.
Chris Cullen
@123xylem

@123xylem

    for( var i = 0; i < arr.length; i++){
       var next = arr[(i+1)%len];

         diff = (values[arr[i]] - next );
          console.log(next);
          date += values[arr[i]];
        }

Why is next here going back to the start of the array once its finished?
how can I make it end at the end

freepancakes
@OudarjyaS_twitter
everyone doing good?
Johnny
@JohnnyBizzel
@123xylem Problem found with one of your plugins: https://spicyimthai.com/