Changing the color by attribute in geojson format objects

Hi!
I have a layer with houses. I want to set a specific color based on the house number. But I don’t understand how to do it. I didn’t quite understand the example on the sandcastle. can you tell me how my code will change?

async function addGeoJSON() {
  const geoJSONURL = await Cesium.IonResource.fromAssetId(2484167);
  const geoJSON = await Cesium.GeoJsonDataSource.load(geoJSONURL, { clampToGround: true });
  const dataSource = await viewer.dataSources.add(geoJSON);
  for (const entity of dataSource.entities.values) {
    entity.polygon.classificationType = Cesium.ClassificationType.TERRAIN;
    entity.polygon.height = 3;
    entity.polygon.extrudedHeight = 6;
  };
  viewer.zoomTo(dataSource);
};
addGeoJSON();

Best,
Eugenia