Skip to content

Instantly share code, notes, and snippets.

View cmealo's full-sized avatar

Christie Mealo cmealo

View GitHub Profile
@cmealo
cmealo / EVrP-7.js
Created November 11, 2016 23:32
null created by cmealo17 - https://repl.it/EVrP/7
//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){

meh

@cmealo
cmealo / README.md
Last active August 29, 2015 14:07 — forked from mbostock/.block
Christie Test Pie Fork

This example demonstrates using a data-join with a key function to update a pie chart.

Previous: Static Data-Join

@cmealo
cmealo / README.md
Last active August 29, 2015 14:06 — forked from mbostock/.block

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