Comments (5)
I think depict pretty well covers what we want to do. It would just add some more stuff you have to install when you get the repo going (phantomjs through homebrew and depict through npm). I'm not aware of anything Python-based that would also do this so we could just add to requirements.
Basically, this will require a headless browser, and phantomjs is the standard there. I think installing depict and adding that to the render
function is the best course of action.
from dailygraphics.
Thought this might be a quick thing to implement, but sadly...
[truncated]
/Users/onyxfish/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: note: declared protected
here
V8_INLINE HandleScope() {}
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
from dailygraphics.
Note for posterity: Had the bright idea to try html2canvas from the parent. It doesn't work. iFrames don't render at all and apparently there are also issues with SVG rendering.
from dailygraphics.
Mostly working on branch preview
. Remaining issues:
- WebFonts aren't loading.
- Logo needs composited in.
from dailygraphics.
WebFonts are now working with slimer, but the slimer install process is a bit of a mess. :/
from dailygraphics.
Related Issues (20)
- Improve SVG accessibility HOT 5
- Improve graphics archiving process to decrease repo size? HOT 1
- Update css minifier
- Google API connection stalls/breaks on Comcast HOT 1
- Update jinja2
- List of graphics in the repo doesn't always display alphabetically
- Disable gzip on deploy and prefer compression at the CDN level HOT 2
- New template: Hover/tap for sound
- New template: Waffle/unit chart (yum)
- Error when using a Google Spreadsheet that includes a pivot table
- Option to truncate very long graphics (desktop or mobile-only)
- Graphics folder-cleaning functions no longer working
- Trim strings and check for other invisibles
- Line Chart: Option to show dots for every data point
- Line Chart: Annotations for important dates
- Test how graphics appear in different browsers w/ zoom turned on
- Address pip deprecating Python 2.7
- Flask warning when loading local webserver
- Line chart template: Hide legend on mobile if there's only one line
- Remove "Direct link" from graphic preview page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dailygraphics.