Skip to content

fivethirtyeight/gulp-d3-pre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-d3-pre

Gulp task for pre-rendering d3 with d3-pre.

See d3-pre for more detailed documentation.

Usage

Install the gulp plugin:

$ npm install gulp-d3-pre

Create a gulp task:

gulp.task('prerender-svgs', function() {
  gulp.src('./public/index.html')
    .pipe(d3Pre())
    .pipe(gulp.dest('./public/'));
})

About

Gulp task for pre-rendering d3 with d3-pre

Resources

License

Stars

Watchers

Forks

Packages

No packages published