freeCodeCamp/curriculum/challenges/chinese-traditional/10-coding-interview-prep/take-home-projects/show-national-contiguity-wi...

1.2 KiB

id title challengeType forumTopicId dashedName
bd7198d8c242eddfaeb5bd13 Show National Contiguity with a Force Directed Graph 3 302367 show-national-contiguity-with-a-force-directed-graph

--description--

Objective: Build a CodePen.io app that is functionally similar to this: https://codepen.io/freeCodeCamp/full/xVopBo.

Fulfill the following user stories. Use whichever libraries or APIs you need. Give it your own personal style.

User Story: I can see a Force-directed Graph that shows which countries share borders.

User Story: I can see each country's flag on its node.

Hint: Here's a dataset you can use to build this: https://raw.githubusercontent.com/DealPete/forceDirected/master/countries.json

Hint: You can create a spritesheet of national flags at https://www.flag-sprites.com.

When you are finished, include a link to your project on CodePen and click the "I've completed this challenge" button.

You can get feedback on your project by sharing it on the freeCodeCamp forum.

--solutions--

// solution required