Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Embedding Statistics Into HTML Documents

It is easy to use the JSON output format to generate nice rendering of statistics. The following example code uses HTML, Chart.js and JavaScript to generate a pie chart representing the percentage for each ray type.

Image Added

Example pie chart generate using JSON statistics, HTML and Javascript.