epsalt / daylight Goto Github PK
View Code? Open in Web Editor NEWD3.js daylight chart visualizations
Home Page: https://epsalt.ca/projects/daylight
License: GNU General Public License v3.0
D3.js daylight chart visualizations
Home Page: https://epsalt.ca/projects/daylight
License: GNU General Public License v3.0
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.
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.