Giter Site home page Giter Site logo

epsalt / daylight Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 4.55 MB

D3.js daylight chart visualizations

Home Page: https://epsalt.ca/projects/daylight

License: GNU General Public License v3.0

HTML 12.05% JavaScript 86.27% CSS 1.67%
d3 data-visualization leaflet

daylight's People

Watchers

 avatar  avatar

daylight's Issues

Corner and contours cut off in the graph

Hi! What an excellent and inspiring project! I have tried to build upon this (mainly changing colours and other design choices). I have run into a problem that I first thought that I introduced myself but then I looked closer at your daylight graph and you have it too.

Here is the top right corner of the graph zoomed in. Night ends before it should and also the other contours ends earlier than the y axis where they should hit the axis.
Screenshot 2023-08-25 at 14 22 16

I get it in all my four corners but my visualization is much larger. It's also more visible when you remove the axis line.
screencapture-127-0-0-1-5503-2023-08-18-12_11_59

The D3 observable community suggested this could be a rounding issue, I have tried to mitigate this by forcing number of decimals when the graph width and height is calculated but it does not change anything.

I think it is a bit strange that it does, the data looks correct so why would it project this like so?

Do you have any idea or suggestion what to do?

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.