Skip to content

Conversation

@bobhaslett
Copy link
Contributor

No description provided.

Copy link
Member

@aendra-rininsland aendra-rininsland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good, few minor changes.

<!DOCTYPE html>
<html>
<head>
<title>Bar chart - Visual Vocabulary</title>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update title please

<title>Bar chart - Visual Vocabulary</title>
<script src="//unpkg.com/@financial-times/d3-bootloader" async></script>
<link rel="stylesheet" href="https://ig.ft.com/visual-vocabulary/styles.css"/>
<link rel="stylesheet" href="./bar.css"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This no longer exists and is throwing 404s

</head>
<body>

<h1>Bar and grouped bar chart</h1>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update this all

source: 'Source not yet added',
};

const xMin = -0;// sets the minimum value on the yAxis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why minus?

} else {
stalks = false;
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The above two conditionals could be replaced with two expressions:

const dots = dotWidth > 0;
const stalks = stalkWidth > 0;





Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove some of this extraneous whitespace

@aendra-rininsland
Copy link
Member

Also, please name folders in lowercase and kebab-case. I.e., rename this to lollipop-h from Lollipop-h. Changing capitalisation in git is annoying so you'll have to do:

git mv Lollipop-h lollipop-h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants