5 practice problems-Anna
✓ Published0🌍 Public
Aannalabrozzi
Last edited Feb 27, 2018
Created on Feb 27, 2018
This example presents five JavaScript practice problems embedded in an HTML page with D3 v4 loaded for utility functions. The problems manipulate arrays and objects: matching state names to two-letter IDs, finding intersecting array values, sorting state objects by population, retrieving the smallest population state, and filtering numbers not divisible by three using the modulus operator. The code uses `forEach` loops, `Array.includes`, `Array.sort`, and `d3.range` to generate a number sequence. No SVG is rendered; results appear in the browser developer console.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed