Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

idris-maps/eleventy-charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eleventy-charts

An eleventy plugin to create charts

Usage

npm install eleventy-charts --save-dev

In your .eleventy.js-file:

const charts = require('eleventy-charts')

module.exports = function(eleventyConfig) {
  eleventyConfig.addPlugin(charts)
}

In your markdown, use codeblocks with one of the following languages:

  • area-chart
  • bar-chart
  • line-chart
  • multiline-chart
  • pie-chart
  • vega-lite
  • vega
  • vegalite

vega and vegalite are json objects.

The others are csv with options set as front-matter.

See the examples markdown and how they are rendered.

About

An eleventy plugin to create charts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published