meh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //print the primes greater than 2 and less than or equal to num | |
| // rescursive solution | |
| var isPrime; | |
| function prime_finder(num) { | |
| for (var i = 2; i <= num; i++){ | |
| if(Number.isInteger(num/i) === true){ |
This example demonstrates using a data-join with a key function to update a pie chart.
Previous: Static Data-Join
This variation of a donut chart demonstrates how to update values with an animated transition. Clicking on the radio buttons changes the displayed metric.
Next: Missing Data
Previous: Static Update