Seaborncharting demonstration and configurable static site generator
This Ruby script
run.rb is a static site generator. It data mines or text mines a folder of XML Schema files as well as the MIT License (only for the d3pie charts) and generates statistics on elements and attributes (the XML Schema) or on words (the License).
The config file:
config.xml stores most of the websites configuration information and can be easily customized.
A fancy feature is the ability to switch between using all d3pie, Google Charts, Chart.js or plotly.js based pie charts just by changing the config entry
chart_type to one of
The site config entry
chart_type can be set to
all which displays all chart types, each chart type on its own page.
For all four styles of pie charts we have both
Pie style charts.
The advantage of the d3pie chart is its interactive clickable pie charts pieces.
The advantage of the Google Chart pie chart is its in built ability to create a chart legend.
The advantage of the Chart.js pie chart is its interactive clickable legend.
The plotly.js pie charts are by far the most interactive out of the box.
Even the README.md file is created from the
config.xml config file.
Demo can be seen here: Slurp Code - Charts