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

17 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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