by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 14 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 22:37
    @bjorno43 banned @real-action
  • Feb 01 00:27
    @bjorno43 banned @Ndoua
  • Jan 07 03:11
    @bjorno43 banned @doctor-sam
  • Apr 25 2019 17:13
    @mstellaluna banned @cmal
  • Jan 08 2019 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
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/
Fabrizzio Petrucci
@fabrizziop
Hi, I think I need a bit of help with the scatter plot data viz project
I have been trying for some hours already but I can't see why I'm failing the "The data-yvalue and its corresponding dot should align with the corresponding point/value on the y-axis" test
even though the graph looks okay
please ignore the missing legend
I don't like asking for help, but I can't find any other way :(
Vishwas Meshram
@vishwas0459
Hi
is this room active?
I am unable to pass the test#6 of TreeMap project.
"The area of each tile should correspond to the data-value amount: tiles with a larger data-value should have a bigger area."
c0d0er
@c0d0er
does anybody know why my d: drive full of lock icons in folders and files, and i cannot copy file to my d: drive, and i cannot delete any files in d: drive, my computer has c: and d: drive, my system is xubuntu 18.04, thanks
Joseph Morse
@jnmorse
@c0d0er Linux doesn't use C: or D: drive designations, but that said, it sounds like your "d: drive" may have user/group permissions set in such a way that doesn't allow your user account to write to it. you can use the chown command to change ownership, https://linux.die.net/man/1/chown. But please be careful, this can have unexpected side effects if something else on you system needs permissions for those file. If you need to adjust read/write permissions as well there is the chmod command https://www.howtogeek.com/437958/how-to-use-the-chmod-command-on-linux/