As you may have heard, @no-stack-dub-sack, @paycoguy, and @Christian-Paul have been hard at work building projects with testable user stories. We are looking for a few volunteers to attempt to build these based on their automated tests.
This is a brand-new project that should be a ton of fun to build: a Choropleth Map! Note that the test suite may not yet work in browsers other than Chrome.
The goal is for campers to be able to build these projects step by step following user stories. This will make the projects less intimidating and more fun. Oh, and donāt worry - weāll still have plenty of optional projects where we donāt provide you with any tests. And if youāve previously built these projects, you donāt need to build them again.
If youāre interested in attempting this, please reply to the thread and let us know youāve started it. The more people who want to build this, the better, as we can start gathering feedback.
Thanks, and happy coding!
Here is the sample project http://codepen.io/freeCodeCamp/pen/EZKqza
Here is the pen for campers to fork http://codepen.io/freeCodeCamp/pen/MJjpwO
Here are the data sets you need for this project:
- https://raw.githubusercontent.com/no-stack-dub-sack/testable-projects-fcc/master/src/data/choropleth_map/for_user_education.json
- https://raw.githubusercontent.com/no-stack-dub-sack/testable-projects-fcc/master/src/data/choropleth_map/counties.json
For this project, we will be utilizing D3 to make a Choropleth Map:
A choropleth map (from Greek Ļįæ¶ĻĪæĻ (āarea/regionā) + ĻĪ»įæĪøĪæĻ (āmultitudeā)) is a thematic map in which areas are shaded or patterned in proportion to the measurement of the statistical variable being displayed on the map, such as population density or per-capita income.
User Stories
- My Choropleth should have a title with a corresponding
id="title"
. - My Choropleth should have a description with a corresponding
id="description"
. - My Choropleth should have counties with a corresponding
class="county"
that represent the data. - There should be at least 4 different fill colors used for the counties.
- My counties should each have
"data-fips"
and"data-education"
properties containing their corresponding fips and education values. - My Choropleth should have a county for each provided data point.
- The counties should have
data-fips
anddata-education
values that match the sample data. - My Choropleth should have a legend with a corresponding
id="legend"
. - There should be at least 4 different fill colors used for the legend.
- When I mouse over a county, a
<div>
element with correspondingid="tooltip"
should become visible. - My tooltip should have a
"data-education"
property that corresponds to the given education of the active county.