# Housing market video

> A 15-second portrait market update for an estate agent: five Norwich neighbourhoods as a street of houses whose heights are set by one scale token, with prices that count up and the camera walking along the street. Change the prices and the monthly changes, and the heights follow.

- The design, as a .vd file: https://getv.design/library/housing-market-video.vd
- Its page: https://getv.design/library/housing-market-video

## How it was made

Drafted from this prompt:

> A 15-second market update for Abbeygate Property: average house prices in five Norwich neighbourhoods for October, as a street of houses whose heights match the prices.

Then refined:

- Added the change since September under each neighbourhood name.
- Shortened the camera moves and let each name appear with its house so the clip runs to about 15 seconds.
- Closed the roofs onto the walls to remove a hairline gap.

## Make it yours

- "Update the prices for November."
- "Add a sixth neighbourhood on the left."
- "Use our brand colours and put our logo in the footer."

## The source

```vd
version 12
kind design
title "Norwich market update"
$slate = #2B2D42
$chalk = #EDF2F4
$rose = #EF233C
$sage = #8D99AE
$k = 1.29
$hw = 176
$ground = 1130
$roof = 84

font display = Playfair Display
  face asset=playfair-display-700 weight=700
font body = Manjari
  face asset=manjari-400 weight=400
  face asset=manjari-700 weight=700

asset playfair-display-700 = font/woff2 hash=sha256-28453852ea165c47b5a941be00e418402e1407002ed87507f062a1e316328fe6 bytes=23224 license=OFL
asset manjari-400 = font/woff2 hash=sha256-3a37ceb9b139948bb49e86bb41b6d7180c810fed4ae13254ed7e42d98048dd77 bytes=12400 license=OFL
asset manjari-700 = font/woff2 hash=sha256-fd7f4f57021e07762c61922fb83720ae1d0c86aed1b6f84acd1978307de36307 bytes=12732 license=OFL

frame street x=0 y=0 w=1080 h=1350 background=chalk clip
  text head.title x=60 y=96 w=700 h=150 size=66 weight=700 font=display fill=slate lineHeight=1.12 letterSpacing=-1
    "Eaton leads Norwich at £496,000"
  text head.sub x=60 y=(@head.title.bottom + 18) w=960 h=40 size=30 font=body fill=slate
    "Average house price by neighbourhood, October"
  rect ground x=0 y=$ground w=100% h=(100% - $ground) fill=sage
  group unit.mile
    group home.mile
      rect body.mile x=60 y=($ground - 238 * $k + $roof) w=$hw h=(238 * $k - $roof) fill=slate
      vector roof.mile x=(@body.mile.x - 6) y=(@body.mile.y - $roof) w=($hw + 12) h=($roof + 1) view="0 0 188 85" d="M0 85 L94 0 L188 85 Z" fill=slate
      rect door.mile x=(@body.mile.x + 28) y=($ground - 84) w=46 h=84 fill=rose radius=2
      rect sill.mile x=(@body.mile.x + 104) y=($ground - 150) w=44 h=52 fill=chalk
    text price.mile x=(@body.mile.x - 10) y=(@roof.mile.y - 52) w=($hw + 20) h=44 size=36 weight=700 font=display fill=rose align=center
      "£238,000"
    text name.mile x=@body.mile.x y=($ground + 20) w=$hw h=36 size=24 weight=700 font=body fill=slate align=center
      "Mile Cross"
    text chg.mile x=@body.mile.x y=(@name.mile.bottom + 2) w=$hw h=32 size=23 font=body fill=slate align=center
      "Up 0.8%"
  group unit.lak
    group home.lak
      rect body.lak x=(@body.mile.right + 20) y=($ground - 276 * $k + $roof) w=$hw h=(276 * $k - $roof) fill=slate
      vector roof.lak x=(@body.lak.x - 6) y=(@body.lak.y - $roof) w=($hw + 12) h=($roof + 1) view="0 0 188 85" d="M0 85 L94 0 L188 85 Z" fill=slate
      rect door.lak x=(@body.lak.x + 28) y=($ground - 84) w=46 h=84 fill=rose radius=2
      rect sill.lak x=(@body.lak.x + 104) y=($ground - 150) w=44 h=52 fill=chalk
    text price.lak x=(@body.lak.x - 10) y=(@roof.lak.y - 52) w=($hw + 20) h=44 size=36 weight=700 font=display fill=rose align=center
      "£276,000"
    text name.lak x=@body.lak.x y=($ground + 20) w=$hw h=36 size=24 weight=700 font=body fill=slate align=center
      "Lakenham"
    text chg.lak x=@body.lak.x y=(@name.lak.bottom + 2) w=$hw h=32 size=23 font=body fill=slate align=center
      "Up 1.1%"
  group unit.thorpe
    group home.thorpe
      rect body.thorpe x=(@body.lak.right + 20) y=($ground - 342 * $k + $roof) w=$hw h=(342 * $k - $roof) fill=slate
      vector roof.thorpe x=(@body.thorpe.x - 6) y=(@body.thorpe.y - $roof) w=($hw + 12) h=($roof + 1) view="0 0 188 85" d="M0 85 L94 0 L188 85 Z" fill=slate
      rect door.thorpe x=(@body.thorpe.x + 28) y=($ground - 84) w=46 h=84 fill=rose radius=2
      rect sill.thorpe x=(@body.thorpe.x + 104) y=($ground - 150) w=44 h=52 fill=chalk
      rect win.thorpe.1a x=(@body.thorpe.x + 28) y=($ground - 246) w=44 h=52 fill=chalk
      rect win.thorpe.1b x=(@body.thorpe.x + 104) y=($ground - 246) w=44 h=52 fill=chalk
    text price.thorpe x=(@body.thorpe.x - 10) y=(@roof.thorpe.y - 52) w=($hw + 20) h=44 size=36 weight=700 font=display fill=rose align=center
      "£342,000"
    text name.thorpe x=@body.thorpe.x y=($ground + 20) w=$hw h=36 size=24 weight=700 font=body fill=slate align=center
      "Thorpe Hamlet"
    text chg.thorpe x=@body.thorpe.x y=(@name.thorpe.bottom + 2) w=$hw h=32 size=23 font=body fill=slate align=center
      "Down 0.6%"
  group unit.gold
    group home.gold
      rect body.gold x=(@body.thorpe.right + 20) y=($ground - 418 * $k + $roof) w=$hw h=(418 * $k - $roof) fill=slate
      vector roof.gold x=(@body.gold.x - 6) y=(@body.gold.y - $roof) w=($hw + 12) h=($roof + 1) view="0 0 188 85" d="M0 85 L94 0 L188 85 Z" fill=slate
      rect door.gold x=(@body.gold.x + 28) y=($ground - 84) w=46 h=84 fill=rose radius=2
      rect sill.gold x=(@body.gold.x + 104) y=($ground - 150) w=44 h=52 fill=chalk
      rect win.gold.1a x=(@body.gold.x + 28) y=($ground - 246) w=44 h=52 fill=chalk
      rect win.gold.1b x=(@body.gold.x + 104) y=($ground - 246) w=44 h=52 fill=chalk
      rect win.gold.2a x=(@body.gold.x + 28) y=($ground - 342) w=44 h=52 fill=chalk
      rect win.gold.2b x=(@body.gold.x + 104) y=($ground - 342) w=44 h=52 fill=chalk
    text price.gold x=(@body.gold.x - 10) y=(@roof.gold.y - 52) w=($hw + 20) h=44 size=36 weight=700 font=display fill=rose align=center
      "£418,000"
    text name.gold x=@body.gold.x y=($ground + 20) w=$hw h=36 size=24 weight=700 font=body fill=slate align=center
      "Golden Triangle"
    text chg.gold x=@body.gold.x y=(@name.gold.bottom + 2) w=$hw h=32 size=23 font=body fill=slate align=center
      "Up 1.9%"
  group unit.eaton
    group home.eaton
      rect body.eaton x=(@body.gold.right + 20) y=($ground - 496 * $k + $roof) w=$hw h=(496 * $k - $roof) fill=slate
      vector roof.eaton x=(@body.eaton.x - 6) y=(@body.eaton.y - $roof) w=($hw + 12) h=($roof + 1) view="0 0 188 85" d="M0 85 L94 0 L188 85 Z" fill=slate
      rect door.eaton x=(@body.eaton.x + 28) y=($ground - 84) w=46 h=84 fill=rose radius=2
      rect sill.eaton x=(@body.eaton.x + 104) y=($ground - 150) w=44 h=52 fill=chalk
      rect win.eaton.1a x=(@body.eaton.x + 28) y=($ground - 246) w=44 h=52 fill=chalk
      rect win.eaton.1b x=(@body.eaton.x + 104) y=($ground - 246) w=44 h=52 fill=chalk
      rect win.eaton.2a x=(@body.eaton.x + 28) y=($ground - 342) w=44 h=52 fill=chalk
      rect win.eaton.2b x=(@body.eaton.x + 104) y=($ground - 342) w=44 h=52 fill=chalk
      rect win.eaton.3a x=(@body.eaton.x + 28) y=($ground - 438) w=44 h=52 fill=chalk
      rect win.eaton.3b x=(@body.eaton.x + 104) y=($ground - 438) w=44 h=52 fill=chalk
    text price.eaton x=(@body.eaton.x - 10) y=(@roof.eaton.y - 52) w=($hw + 20) h=44 size=36 weight=700 font=display fill=rose align=center
      "£496,000"
    text name.eaton x=@body.eaton.x y=($ground + 20) w=$hw h=36 size=24 weight=700 font=body fill=slate align=center
      "Eaton"
    text chg.eaton x=@body.eaton.x y=(@name.eaton.bottom + 2) w=$hw h=32 size=23 font=body fill=slate align=center
      "Up 2.3%"
  text foot x=60 y=1286 w=960 h=34 size=24 font=body fill=slate
    "Abbeygate Property, average sold prices for October"

motion street w=1080 h=1350
  camera street duration=0
  head.title enter=rise by=word stagger=120
  head.sub enter=fade
  camera unit.mile duration=800 ease=inout
  home.mile enter=grow from=bottom duration=1000
  price.mile enter=count from=0 duration=1000 together
  name.mile enter=fade together delay=500
  chg.mile enter=fade together
  camera unit.lak duration=800 ease=inout
  home.lak enter=grow from=bottom duration=1000
  price.lak enter=count from=0 duration=1000 together
  name.lak enter=fade together delay=500
  chg.lak enter=fade together
  camera unit.thorpe duration=800 ease=inout
  home.thorpe enter=grow from=bottom duration=1000
  price.thorpe enter=count from=0 duration=1000 together
  name.thorpe enter=fade together delay=500
  chg.thorpe enter=fade together
  camera unit.gold duration=800 ease=inout
  home.gold enter=grow from=bottom duration=1000
  price.gold enter=count from=0 duration=1000 together
  name.gold enter=fade together delay=500
  chg.gold enter=fade together
  camera unit.eaton duration=800 ease=inout
  home.eaton enter=grow from=bottom duration=1000
  price.eaton enter=count from=0 duration=1000 together
  name.eaton enter=fade together delay=500
  chg.eaton enter=fade together
  camera street duration=1000 ease=inout delay=200
  foot enter=fade
```
