Apollonius’ problem is to compute the circle that is tangent to three given circles. There are up to eight such circles.
Drag the circles to see the tangent circles change.
Apollonius’ problem is to compute the circle that is tangent to three given circles. There are up to eight such circles.
Drag the circles to see the tangent circles change.
Modifying renecn's visualization based on Mike Bostock's D3 World Tour. I am making an interactive map of La Francophonie for a french teacher (my mom) to use in classes.
In order to use this code yourself to make a similar map, change the francophonie.csv file to be a file with the data of the countries you wish to highlight. All you need is an id, name, language, population, and note column. You can find the id for countries here. The id is a magic number that gets crosslisted with the map, so the number must correspond to the correct country. You can make a csv file using excel or another spreadsheet program (just "save as -> csv"). Then, in the tour.js file, just change "francophonie.csv" to the new file name (or you can just save your new file as francophonie.csv to save yourself the trouble).