{"API Evangelist"}

D3.js Pie Chart Using YAML and Jekyll

This is a D3.js pie chart that is driven from dynamically generated JSON, derived from YAML stored in the _data folder within this Github Pages repository running Jekyll. The goal is to provide a simple, reverse-engineerable example of how YAML can be used to drive visualizations, allowing anyone to fork and re-purpose for thei rown needs.

The YAML can be found in _data/pie-chart.yaml, but is transformed into the JSON needed for this chart, using /data/pie-chart.json. You can fork the repo, and make work with your own data, and keep the YAML as the central, machine readable source. My objective is to decouple the data source from the visualiation, and leverage the readability of YAML + Jekyll + Github Pages for making data accessible.