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

39 lines
2.0 KiB
Markdown
Raw Normal View History

---
id: bd7198d8c242eddfaeb5bd13
title: Show National Contiguity with a Force Directed Graph
isRequired: false
challengeType: 3
videoUrl: ''
localeTitle: 用力导向图显示全国连续性
---
## Description
<section id="description"> <strong>目标:</strong>构建一个功能类似于此的<a href="https://codepen.io" target="_blank">CodePen.io</a>应用程序: <a href="https://codepen.io/freeCodeCamp/full/xVopBo" target="_blank">https</a> <strong></strong> <a href="https://codepen.io" target="_blank">//codepen.io/freeCodeCamp/full/xVopBo</a> 。完成以下<a href="https://en.wikipedia.org/wiki/User_story" target="_blank">用户故事</a> 。使用您需要的任何库或API。给它你自己的个人风格。 <strong>用户故事:</strong>我可以看到一个强制导向图,显示哪些国家/地区共享边界。 <strong>用户故事:</strong>我可以在其节点上看到每个国家/地区的旗帜。 <strong>提示:</strong>这是一个可用于构建此数据集的数据集: <a href="https://raw.githubusercontent.com/DealPete/forceDirected/master/countries.json" target="_blank">https</a> <strong></strong> //raw.githubusercontent.com/DealPete/forceDirected/master/countries.json <strong>提示:</strong>您可以在<a href="https://www.flag-sprites.com" target="_blank">https//www.flag-</a>创建国旗的spritesheet <a href="https://www.flag-sprites.com" target="_blank">sprites.com</a> 。如果卡住,请记得使用<a href="http://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck/19514" target="_blank">Read-Search-Ask</a> 。完成后单击“我已完成此挑战”按钮并包含指向CodePen的链接。您可以通过Facebook上的朋友分享您的项目反馈。 </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests: []
```
</section>
## Challenge Seed
<section id='challengeSeed'>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>