Draw the locations as circles, and make the radius of circles proportional to the total trading amount.

Your job is to

1. Read in the data using D3.

2. Draw the locations as circles, and make the radius of circles proportional to the total trading amount.

3. Draw the trading as lines between the locations, and make the thickness of lines proportional to the amount.

4. Interactive tooltip:

1. When the mouse hovers on a circle, the name of the location and its total trading amount should be displayed in a tooltip.

2. When mouse hovers on a line, the two names of its linked locations and the trading amount should be displayed in a tooltip.

5. Circles should be rendered on top of lines.

Your code should be generic and work with other data files of similar format, i.e. your code should be able to load and visualise the two data files attached without any changes except the file name.

The data is available at the bottom of the page.

find the cost of your paper

At what point must the rights of the individual be protected against the power of the state, and when must they bow to the enduring value of respected tradition?

In the Sudan, an eight-year-old girl is given by her family to a priest in a neighboring village. She is told to serve him and obey all his wishes. Someone….

based on economic system and lifestyle, but where do we stop? And, if there is no place to stop, what remains?

African philosopher Kwasi Wiredu claims that throwing the colonizing power out of your country is much easier than throwing the colonizer out of your mind. The real damage to indigenous….

Can you imagine one craftsperson capable of making all these things?

Let’s consider why dramatic poetry must be banished from our republic. We must begin with the notion of imitation or representation. A carpenter who wishes to make a bed or….