Making a Scatter Plot with D3.js

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 9

  • @mikhaeldito
    @mikhaeldito 5 лет назад +2

    My goodness! Your channel is like a treasure chest! I hope you can get more and more viewers in the future man. I will definitely recommend this channel.

  • @arthurtapper1092
    @arthurtapper1092 2 года назад

    Great video!! Although I was trying to follow along from your previous video (Bar graph) but there seems to be a disconnect between the code in that video and the beginning ofthis video ... You never brought up ticks or grids in the last one and I got a little lost, just letting you know as it would be nice to have a note regarding what is going on with the ticks and grids.

    • @currankelleher
      @currankelleher  2 года назад

      Thanks for this feedback! In future work I hope to make the videos more standalone, or explicitly in a sequence. Maybe some intermediate step is missing here, sorry about that!

  • @mengweili1554
    @mengweili1554 4 года назад

    Very impressive! I love this course

  • @RatchR
    @RatchR 6 лет назад +2

    How do you change the yAxis so the count starts from the bottom left instead of the top right?
    For example, the bottom left is 1,500 instead of the 5,500

    • @currankelleher
      @currankelleher  6 лет назад

      You can swap the array of either the domain or range of the Y scale.

    • @RatchR
      @RatchR 6 лет назад +1

      Awesome, thanks

  • @karanshethia3560
    @karanshethia3560 3 года назад

    Okay so i am trying to work on this same thing on vs code. The rollup bundle.js file doesn't get created and also the data written in the Readme file is not displayed. Can someone please help ?

    • @currankelleher
      @currankelleher  3 года назад

      Indeed, there is a bit of a disconnect between the environments, I understand. The trick is to run `npm install` and then `npm run build`, which involes the script in `package.json` that invokes Rollup to generate `bundle.js`. You will also need a local server, such as the NPM package `http-server`. Displaying the README, I'm not sure if there are any developer tools that will do that. However if you put it into a GitHub repository, it will render nicely there. For niceties like automatic bundling when files change, see github.com/rollup/rollup-starter-app
      You know, this has come up a lot, and I was thinking of maybe creating a "VizHub Dev Server" that would give you the same/similar experience as in VizHub, but allow you to use a local editor. Does this sound like a good idea?