Giter Site home page Giter Site logo

time-based axes code? about d3-book HOT 4 CLOSED

scotthmurray avatar scotthmurray commented on August 18, 2024
time-based axes code?

from d3-book.

Comments (4)

new-machines avatar new-machines commented on August 18, 2024

I see an earlier issue that duplicates this one, but it isn't clear from that string what the fix was?

#38 (comment)

from d3-book.

scotthmurray avatar scotthmurray commented on August 18, 2024

@new-machines I can't speak to what happened over in #38, but I have a guess.

What version of D3 are you using? The book and all examples are written to work with 4.5.0, which is what's included in this repo. If you're using a different version, you should check the change history to see what's different from 4.5.0 to the other version.

Here is what I see when I run those two examples, as in the repo:

Screen Shot 2019-11-16 at 10 07 00 AM

Screen Shot 2019-11-16 at 10 07 12 AM

And here is what I see when I run the two files you provided, but changing the JS reference to point to D3 4.5.0.

Screen Shot 2019-11-16 at 10 09 03 AM

Screen Shot 2019-11-16 at 10 09 07 AM

from d3-book.

new-machines avatar new-machines commented on August 18, 2024

Thank you so much for looking at that. I was def using the right version of d3. Managed to get things working though by starting from scratch with a different directory structure. BTW, the book is great!

from d3-book.

scotthmurray avatar scotthmurray commented on August 18, 2024

Oh good, glad to hear it. Thanks!

from d3-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.