In this demo, we asynchronously load a text file, use JavaScript to count the number of times each letter appears in that file, and generate a bar chart showing the letter count in D3.js.
This is meant to be an introductory demo to expose students to HTML, CSS, JavaScript, D3.js, bl.ocks.org, and blockbuilder.org for the first time.
Below you can find videos related to this demo. Please note that some content is discussed in-class only.
To get started with D3.js, I highly recommend you look at the fantastic tutorials below:
These tutorials give more explanation to how D3 works than you will find in this demo.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js