Search
Clear search
Close search
Google apps
Main menu

Fusion Tables is an experimental app.

Customize polygons and lines

You can customize the appearance of line and polygon features on the map. For example, by customizing the colors and borders of polygons, you can create a custom intensity map (also known as thematic or choropleth map) that highlights the geographic patterns in data. Here's how.

1. Open the map styles dialog

In the New look:

  1. Click "[+] > Add map" or click on a Map tab.
  2. Once the new map is open, click "Tools > Change map", then click the "Change feature styles" button on the left.

In the Classic look:

  1. Select "Visualize > Map".
  2. Click the "Configure styles" link located directly above the map.

2. Change polygon colors

These steps describe how to customize the fill color for polygons. The same options apply to polygon border color, border width, and lines.

There are several customization options, each described in more detail below:
  • One color for all features ("Fixed")
  • Apply color based on the data ("Buckets" or "Gradient")
  • Specify exact color of each feature ("Column")

Change color of all polygons

Use "Fixed" to select one color for all polygons on a map. To customize a fixed polygon fill color:

  1. Select "Fill color"
  2. Click the "Fixed" tab.
  3. Click the radio button next to "Use one color."
  4. Choose the fill color from the color menu or enter a hex color code.
  5. Optional: Set the opacity of the fill color by using the text field at the bottom of the color menu. As a reference point, 0% is completely transparent and 100% is completely opaque.
  6. Click "Save".

This technique can be also applied to border colors, border width, line color, and line width.

Apply color based on the data

Use "Buckets" to classify two or more customized numeric ranges using distinct fill colors. This will visually set apart polygons on the map based on the data. The "Gradient "option" "is similar, but it allows you to define a gradual color transition to represent a range of numerical data. This gives you the opportunity to develop a map similar to Fusion Intensity Map but with customizable boundaries, colors and info windows.

To customize a polygon fill color with buckets:

  1. Select "Fill color".
  2. Click the "Buckets" tab.
  3. Click radio button next to "Divide into" and use the pull-down menu to select the number of buckets (distinct colors) you want on the map.
    Tip: Use the "+" and "-" buttons to add or remove a bucket.
  4. Click the pull-down menu next to "Column" to select the data that you want to classify by colors.
  5. Enter numbers in the text fields next to the "+" and "-" buttons to define the range of data values you want in each bucket.
    Tip: Each bucket range starts with the low number in the text field on the left and includes numbers up to but not including the high number on the right.
  6. Click "Save".

This technique can be also applied to border colors, border width, line color, and line width.

In this example, four distinct buckets break down the percentages of U.S. households with one or more persons born in Mexico. You can try this technique using the public table in the Try it yourself! section.

To customize a polygon color using a gradient:

  1. Select "Fill color".
  2. Click the "Gradient" tab.
  3. Click the radio button next to "Show a gradient".
  4. Use the pull-down menu next to "Column" to choose the data that you want to classify by gradients.
  5. Use the first text field next to "From" to enter a number for the start of the gradient.
    Tip: A start value for a gradient can also be a negative number.
  6. Insert an end numerical value in the text field next to "Through."
  7. Click each color chip's pull-down menu to specify colors for the gradient's start point, midpoints, and end point.
    Tip: Click the "+" and "-" buttons to add or remove color chips from the gradient.
  8. Click "Save".

Tip: You can customize a fill gradient that smoothly transitions between different shades or different colors.

This technique can be also applied to border color and line color.

Specify a color for each polygon

Use the "Column" option to assign a precise color to each row of data in the table. This option gives you the most control over the appearance of each feature on your map. In order to specify a color based on "Column", the table you're using needs to have a column with a color entered for each row.

Color can be specified two different ways you may be familiar with from the web: css color names or RGB hex notation. Case doesn't matter. For hex color codes, a leading # is optional. Add two optional characters at the end of the hex color to specify opacity. For example: 00 is transparent; 80 is 50% opaque; FF is completely opaque.

"Value" "Effect"
blue blue
#0000FF blue
#0000FFFF opaque blue
#0000FF80 50% opaque blue
#0000FF00 completely transparent blue

If the table you're using doesn't already have a column of hex color codes, you can either add a column of color specs or you can merge your table with a table that has a column of color specs.

Tip: Default values are used when the specified color or width for a row is missing or unrecognized. If a feature isn't appearing as you expected, check the hex code or width number for the feature.

For more hex color codes, visit colorbrewer.org ("hex" option), w3schools.com color picker, or colorschemer.com.

To specify a fill color for each polygon with column values:

  1. Select "Fill color".
  2. Click the "Column" tab.
  3. Click the radio button next to "Use color specified in a column".
  4. Click the pull-down menu and choose the column name that specifies the colors.
  5. Click "Save".

For example, this Fusion Table was created by merging a table of data and a table with color codes. The pale yellow background of the "Color" indicates it comes from a different table than the other columns. The "Color" column contains hex codes for shades of red and green.

When setting the map style, select the "Color" column.

The resulting map draws from the color specified in each row.

This technique can be also applied to border colors, border width, line color, and line width.

When specifying pixel widths for displaying lines and polygon borders on the map, the column should be type Number. Border widths and line widths can be between 0 and 100.

Try it yourself!

  1. Open a public table like 2008-9 California high school graduates' college enrollment.
  2. Click "[+] > Add map" to create a customizable map of the data in the table.
  3. Click the "Change feature styles" button.

The gradient defaults are 0 to 100, but the graduation rates data in this table range from about 31 to 81%. You can customize the gradient in this map based on this data:

  1. Select "Polygons > Fill color".
  2. Click the "Gradient" tab.
  3. Click the radio button next to "Show a gradient".
  4. Use the pull-down menu next to "Column" and choose "Percentage of total high school graduates enrolled in post-secondary institutions".
  5. Enter "31" the text field next to "From" and "81" in the text field next to "Through".
  6. Customize the color gradient to transition from a shade of light green to dark green. To achieve a darker shade of green, use the opacity text box in the color pull-down menu to adjust the 50% opacity to 100%.
  7. Click "Save".

Your customized map shows a green gradient representing the percentage of California high school graduates enrolled in post-secondary institutions. The default red polygon indicates a row with data outside the defined gradient. Tip: Apply filters to remove such rows from the map.

You may also want to change the polygon border color to help the polygons pop out more on the page. To change the border color from the default charcoal gray color, return to the "Change map styles" panel.

  1. Select "Polygons > Border color".
  2. Click the "Fixed" tab.
  3. Click the radio button next to "Use one color"
  4. Use the color pull-down menu to choose the color black, which appears as #000000 in the text box.
  5. Click "Save".

Now each polygon is clearly defined by a customized black border.