Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user

How would you color a polygon/line/dot based on a date? The colors would be a pre-set list. I need the area to update its color based on the current (or given) date. I would be using tilemill or cartodb. Any help greatly appreciated (I suck in javascipt..)! Thanks :)

Example:

Polygon A:

  • Color would be white after Jan 1,
  • Color would be grey after Feb 15
  • Color would be brown after March 1, etc.

    Line B:

  • Color would be blue after March 15,
  • Color would be white after Dec 1, etc.
  • How would you color a polygon/line/dot based on a date? The colors would be a pre-set list. I need the area to update its color based on the current (or given) date. I would be using tilemill or cartodb. Any help greatly appreciated (I suck in javascipt..)! Thanks :)

    Example:

    Polygon A:

  • Color would be white after Jan 1,
  • Color would be grey after Feb 15
  • Color would be brown after March 1, etc.

    Line B:

  • Color would be blue after March 15,
  • Color would be white after Dec 1, etc.
  • How would you color a polygon/line/dot based on a date? The colors would be a pre-set list. I need the area to update its color based on the current (or given) date. I would be using tilemill or cartodb.

    Example:

    Polygon A:

  • Color would be white after Jan 1,
  • Color would be grey after Feb 15
  • Color would be brown after March 1, etc.

    Line B:

  • Color would be blue after March 15,
  • Color would be white after Dec 1, etc.
  • Bumped by Community user
    Bumped by Community user
    Made title more concise
    Link
    PolyGeo
    • 65.4k
    • 29
    • 114
    • 345

    How to color a Coloring polygon based on date? using TileMill/CartoDB?

    added 10 characters in body
    Source Link

    How would you color a polygon/line/dot based on a date? The colors would be a pre-set list. I need the area to update its color based on the current (or given) date. I would be using tilemill or cartodb. Any help greatly appreciated (I suck in javascipt..)! Thanks :)

    Example:

    Polygon A:

    • Color would be white after Jan 1,
    • Color would be grey after Feb 15
    • Color would be brown after March 1, etc.

    Line B:

    • Color would be blue after March 15,
    • Color would be white after Dec 1, etc.
  • Color would be white after Jan 1,
  • Color would be grey after Feb 15
  • Color would be brown after March 1, etc.

    Line B:

  • Color would be blue after March 15,
  • Color would be white after Dec 1, etc.
  • How would you color a polygon/line/dot based on a date? The colors would be a pre-set list. I need the area to update its color based on the current (or given) date. I would be using tilemill or cartodb. Any help greatly appreciated (I suck in javascipt..)! Thanks :)

    Example:

    Polygon A:

    • Color would be white after Jan 1,
    • Color would be grey after Feb 15
    • Color would be brown after March 1, etc.

    Line B:

    • Color would be blue after March 15,
    • Color would be white after Dec 1, etc.

    How would you color a polygon/line/dot based on a date? The colors would be a pre-set list. I need the area to update its color based on the current (or given) date. I would be using tilemill or cartodb. Any help greatly appreciated (I suck in javascipt..)! Thanks :)

    Example:

    Polygon A:

  • Color would be white after Jan 1,
  • Color would be grey after Feb 15
  • Color would be brown after March 1, etc.

    Line B:

  • Color would be blue after March 15,
  • Color would be white after Dec 1, etc.
  • Source Link
    Loading