Giter Site home page Giter Site logo

pinkdiamond1 / d3export_demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hypercubed/d3export_demo

0.0 1.0 0.0 92 KB

Export d3js graphics to PDF/PNG/SVG

Home Page: http://d3export.cancan.cshl.edu/

JavaScript 51.05% Perl 11.28% HTML 37.67%

d3export_demo's Introduction

d3 export demo

This is a proof-of-concept demo for saving d3js graphics as PDF/PNG/SVG files.

Objective

CGI takes incoming SVG serialization. Use graphics toolkit to open SVG serialization as input, output PNG or PDF as output.

This perl implementation just performs a system call on rsvg-convert, nothing specific to perl.

Options

See http://stackoverflow.com/questions/4809194/convert-svg-image-to-png-with-php for another nice overview. We just run rsvg-convert man rsvg

Implementation

See here for more details: * https://github.com/agordon/d3export_demo

See here for online demo: http://d3export.housegordon.org/

Implementation in other languages

Several people have implemented the CGI portion in other languages:

License

Copyright (C) 2012,2014 by A. Gordon ([email protected])

All code written by me is released under BSD license: http://opensource.org/licenses/BSD-3-Clause (also uses several other libraries that have their own licenses).

d3export_demo's People

Contributors

agordon avatar bewest avatar munir131 avatar gabhi avatar

Watchers

 avatar

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.